summaryrefslogtreecommitdiff
path: root/tests/testparseversions.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testparseversions.py')
-rwxr-xr-xtests/testparseversions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testparseversions.py b/tests/testparseversions.py
index 4da7084..1b633ba 100755
--- a/tests/testparseversions.py
+++ b/tests/testparseversions.py
@@ -9,7 +9,7 @@ class TestParseVersions(unittest.TestCase):
subp = subprocess.Popen(args, stdout=subprocess.PIPE)
output = subp.communicate()[0]
if subp.returncode != 0:
- raise RuntimeError, subp.returncode
+ raise RuntimeError(subp.returncode)
return output
def pv_output(self, control):