diff options
Diffstat (limited to 'pylint/test/input/func_w0623_py30.py')
-rw-r--r-- | pylint/test/input/func_w0623_py30.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/pylint/test/input/func_w0623_py30.py b/pylint/test/input/func_w0623_py30.py deleted file mode 100644 index 7eb27a923..000000000 --- a/pylint/test/input/func_w0623_py30.py +++ /dev/null @@ -1,17 +0,0 @@ -"""Test for W0623, overwriting names in exception handlers.""" -# pylint: disable=unnecessary-pass - -__revision__ = '' - -class MyError(Exception): - """Special exception class.""" - pass - - -def some_function(): - """A function.""" - - try: - {}["a"] - except KeyError as some_function: # W0623 - pass |