diff options
author | Thomas Kluyver <takowl@gmail.com> | 2013-09-17 15:52:47 -0700 |
---|---|---|
committer | Thomas Kluyver <takowl@gmail.com> | 2013-09-17 15:52:47 -0700 |
commit | 5cdccd73558298331d580792f48986b24b8bc3c9 (patch) | |
tree | ea18f463327a5376777c015c392bd66c4ef0141f /tests/test_isalive.py | |
parent | 98012748c31623b0c99103ebb79d111ee0c8317c (diff) | |
download | pexpect-git-5cdccd73558298331d580792f48986b24b8bc3c9.tar.gz |
Use new style except statements in tests
Diffstat (limited to 'tests/test_isalive.py')
-rwxr-xr-x | tests/test_isalive.py | 2 |
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.') |