diff options
Diffstat (limited to 'pylint/test/functional/bare_except.py')
-rw-r--r-- | pylint/test/functional/bare_except.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pylint/test/functional/bare_except.py b/pylint/test/functional/bare_except.py new file mode 100644 index 0000000..47a2079 --- /dev/null +++ b/pylint/test/functional/bare_except.py @@ -0,0 +1,6 @@ +# pylint: disable=missing-docstring, import-error + +try: + 1 + "2" +except: # [bare-except] + pass |