summaryrefslogtreecommitdiff
path: root/tests/test_isalive.py
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2013-09-17 15:52:47 -0700
committerThomas Kluyver <takowl@gmail.com>2013-09-17 15:52:47 -0700
commit5cdccd73558298331d580792f48986b24b8bc3c9 (patch)
treeea18f463327a5376777c015c392bd66c4ef0141f /tests/test_isalive.py
parent98012748c31623b0c99103ebb79d111ee0c8317c (diff)
downloadpexpect-git-5cdccd73558298331d580792f48986b24b8bc3c9.tar.gz
Use new style except statements in tests
Diffstat (limited to 'tests/test_isalive.py')
-rwxr-xr-xtests/test_isalive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_isalive.py b/tests/test_isalive.py
index 4c7e85e..beab764 100755
--- a/tests/test_isalive.py
+++ b/tests/test_isalive.py
@@ -42,7 +42,7 @@ class IsAliveTestCase(PexpectTestCase.PexpectTestCase):
time.sleep(1)
try:
p.wait()
- except pexpect.ExceptionPexpect, e:
+ except pexpect.ExceptionPexpect as e:
pass
else:
self.fail ('Should have raised ExceptionPython because you can\'t call wait on a dead process.')