diff options
author | cpopa <devnull@localhost> | 2014-07-22 13:29:02 +0200 |
---|---|---|
committer | cpopa <devnull@localhost> | 2014-07-22 13:29:02 +0200 |
commit | 5359ed4f09b8667907280b49c84831a1c1dfe8bf (patch) | |
tree | a5f44cd333582ed59302f881bde5ddb5cbbdd9fb /test/input/func_bad_exception_context_py30.py | |
parent | 7f5869347f70a4af11587a8975e262e9c813386b (diff) | |
parent | d2dac2c5d2ba2f8a06fe43d815fd3ff63a089000 (diff) | |
download | pylint-5359ed4f09b8667907280b49c84831a1c1dfe8bf.tar.gz |
Merge with default.
Diffstat (limited to 'test/input/func_bad_exception_context_py30.py')
-rw-r--r-- | test/input/func_bad_exception_context_py30.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/input/func_bad_exception_context_py30.py b/test/input/func_bad_exception_context_py30.py index d3ab127..98b44ee 100644 --- a/test/input/func_bad_exception_context_py30.py +++ b/test/input/func_bad_exception_context_py30.py @@ -1,8 +1,8 @@ """Check that raise ... from .. uses a proper exception context """ -# pylint: disable=unreachable +# pylint: disable=unreachable, import-error -import socket +import socket, unknown __revision__ = 0 @@ -21,3 +21,4 @@ def test(): raise IndexError() from ZeroDivisionError raise IndexError() from ZeroDivisionError() raise IndexError() from object() + raise IndexError() from unknown |