summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchunhua1.liu <chunhua1.liu@samsung.com>2020-06-17 11:50:04 +0800
committerchunhua1.liu <chunhua1.liu@samsung.com>2020-06-17 11:50:04 +0800
commit372f8386b2776db0fd1db7975a13c672fc999de3 (patch)
treea414a55bb95370ded66ed5f0239b8d9e9272df97
parentb0c799709be294d523db150e44b8961856c2148f (diff)
downloadpython-support-372f8386b2776db0fd1db7975a13c672fc999de3.tar.gz
python-support-372f8386b2776db0fd1db7975a13c672fc999de3.tar.bz2
python-support-372f8386b2776db0fd1db7975a13c672fc999de3.zip
Change-Id: Ied7b64729621c9cdc6c3a14cf348d36c14a794a9
-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):