diff options
Diffstat (limited to 'tests/test_errcodes.py')
| -rwxr-xr-x | tests/test_errcodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_errcodes.py b/tests/test_errcodes.py index 4848a76..d651b22 100755 --- a/tests/test_errcodes.py +++ b/tests/test_errcodes.py @@ -48,7 +48,7 @@ class ErrocodeTests(ConnectingTestCase): def f(pg_code='40001'): try: errorcodes.lookup(pg_code) - except Exception, e: + except Exception as e: errs.append(e) for __ in xrange(MAX_CYCLES): |
