summaryrefslogtreecommitdiff
path: root/test/input/func_noerror_used_before_assignment.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/input/func_noerror_used_before_assignment.py')
-rw-r--r--test/input/func_noerror_used_before_assignment.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/input/func_noerror_used_before_assignment.py b/test/input/func_noerror_used_before_assignment.py
new file mode 100644
index 0000000..6ba0b88
--- /dev/null
+++ b/test/input/func_noerror_used_before_assignment.py
@@ -0,0 +1,5 @@
+# pylint: disable = line-too-long, multiple-statements, missing-module-attribute
+"""https://bitbucket.org/logilab/pylint/issue/111/false-positive-used-before-assignment-with"""
+
+try: raise IOError(1, "a")
+except IOError, err: print err