summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2013-03-27 16:40:57 +0100
committerSylvain Thénault <sylvain.thenault@logilab.fr>2013-03-27 16:40:57 +0100
commit54b71813bce4c7917489bb5f7cce4d89a99206e2 (patch)
treef342eaefbfb967fbd17d0bcf5285c78eb67d4bd1
parenta9355784c021ae07827bbbe57fdc0c5a919b0e78 (diff)
downloadpylint-git-54b71813bce4c7917489bb5f7cce4d89a99206e2.tar.gz
add test for #122793 (fixed in astng)
-rw-r--r--test/input/func_noerror_crash_122793.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/input/func_noerror_crash_122793.py b/test/input/func_noerror_crash_122793.py
new file mode 100644
index 000000000..1d14d8e9b
--- /dev/null
+++ b/test/input/func_noerror_crash_122793.py
@@ -0,0 +1,9 @@
+# pylint: disable=C0121
+"""https://www.logilab.org/ticket/122793"""
+
+def gen():
+ """dumb generator"""
+ yield
+
+GEN = gen()
+GEN.next()