aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_jvpp.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_jvpp.py')
-rw-r--r--test/test_jvpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_jvpp.py b/test/test_jvpp.py
index 36dbdb2b391..6151ebdbb20 100644
--- a/test/test_jvpp.py
+++ b/test/test_jvpp.py
@@ -135,7 +135,7 @@ class TestJVpp(VppTestCase):
self.logger.info("Process output : {0}{1}".format(os.linesep, out))
if self.process.returncode != 0:
- raise Exception(
+ raise subprocess.CalledProcessError(
"Command {0} failed with return code: {1}.{2}"
"Process error output: {2}{3}"
.format(command, self.process.returncode, os.linesep, err))