diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-03-26 16:45:52 +0200 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-03-26 16:45:52 +0200 |
commit | 8bc29e8aa88b13b4c64e8d83968c8c21320d5757 (patch) | |
tree | 3d48354c14549388dfe47e7c0fb94f31cf07e2f8 /pylint/test/functional/exception_is_binary_op.py | |
parent | 65d557e7c1f5e7b224621b6c18aa930b891b8da4 (diff) | |
download | pylint-8bc29e8aa88b13b4c64e8d83968c8c21320d5757.tar.gz |
Try to make the tests compatible with both Python 2 and Python 3.
Diffstat (limited to 'pylint/test/functional/exception_is_binary_op.py')
-rw-r--r-- | pylint/test/functional/exception_is_binary_op.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/test/functional/exception_is_binary_op.py b/pylint/test/functional/exception_is_binary_op.py index b9c51d4..f71163d 100644 --- a/pylint/test/functional/exception_is_binary_op.py +++ b/pylint/test/functional/exception_is_binary_op.py @@ -8,5 +8,5 @@ except Exception and BaseException: # [binary-op-exception] print("caught2") except Exception or BaseException: # [binary-op-exception] print("caught3") -except (Exception or BaseException), exc: # [binary-op-exception] +except (Exception or BaseException) as exc: # [binary-op-exception] print("caught4") |