diff options
Diffstat (limited to 'pylint/test/functional/unpacked_exceptions.py')
-rw-r--r-- | pylint/test/functional/unpacked_exceptions.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/pylint/test/functional/unpacked_exceptions.py b/pylint/test/functional/unpacked_exceptions.py deleted file mode 100644 index ec3599c3c..000000000 --- a/pylint/test/functional/unpacked_exceptions.py +++ /dev/null @@ -1,11 +0,0 @@ -"""Test for redefine-in-handler, overwriting names in exception handlers.""" - -def new_style(): - """Some exceptions can be unpacked.""" - try: - pass - except IOError, (errno, message): # [unpacking-in-except] - print errno, message # pylint: disable=print-statement - # +1: [redefine-in-handler,redefine-in-handler,unpacking-in-except] - except IOError, (new_style, tuple): # pylint: disable=duplicate-except - print new_style, tuple # pylint: disable=print-statement |