diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2017-03-12 14:42:33 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2017-03-12 14:42:33 +0200 |
commit | d78e0130720aba010a55e388ba16bd58debef828 (patch) | |
tree | 40687bcfe227f6c48e4b64efa3ac3ae2fd471aad | |
parent | ff4f0847b844a46afdddc018f46e2cb3cd6c5dda (diff) | |
download | pylint-git-d78e0130720aba010a55e388ba16bd58debef828.tar.gz |
Add regression test. Close #1326
-rw-r--r-- | pylint/test/functional/regression_1326_crash_uninferable.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pylint/test/functional/regression_1326_crash_uninferable.py b/pylint/test/functional/regression_1326_crash_uninferable.py new file mode 100644 index 000000000..26b8eb753 --- /dev/null +++ b/pylint/test/functional/regression_1326_crash_uninferable.py @@ -0,0 +1,12 @@ +# pylint: disable=missing-docstring + +import socket + +RETRYABLE_EXCEPTIONS = (socket.error,) + + +def exception_handler(): + try: + yield 1 + except RETRYABLE_EXCEPTIONS + tuple(): + yield 2 |