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_expect.py | |
| parent | 98012748c31623b0c99103ebb79d111ee0c8317c (diff) | |
| download | pexpect-5cdccd73558298331d580792f48986b24b8bc3c9.tar.gz | |
Use new style except statements in tests
Diffstat (limited to 'tests/test_expect.py')
| -rwxr-xr-x | tests/test_expect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_expect.py b/tests/test_expect.py index 7075aa0..c778afc 100755 --- a/tests/test_expect.py +++ b/tests/test_expect.py @@ -272,7 +272,7 @@ class ExpectTestCase (PexpectTestCase.PexpectTestCase): p = pexpect.spawn('ls -l /bin') try: p.expect('_Z_XY_XZ') # Probably never see this in ls output. - except pexpect.EOF, e: + except pexpect.EOF as e: pass else: self.fail ('Expected an EOF exception.') |
