diff options
author | Julien Cristau <julien.cristau@logilab.fr> | 2011-07-08 12:12:33 +0200 |
---|---|---|
committer | Julien Cristau <julien.cristau@logilab.fr> | 2011-07-08 12:12:33 +0200 |
commit | 3853d731026e1dfc50b53ab5fbc3c616e874a0c6 (patch) | |
tree | ff9916765a39014a952257620d2ee6420f490aa9 /test | |
parent | 43ae5d036c7f9137122f834cb2188b4baf90f4d6 (diff) | |
download | pylint-3853d731026e1dfc50b53ab5fbc3c616e874a0c6.tar.gz |
Fix false positive in reimport check (closes #60828)
Diffstat (limited to 'test')
-rw-r--r-- | test/input/func_w0404.py | 7 | ||||
-rw-r--r-- | test/messages/func_w0404.txt | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/input/func_w0404.py b/test/input/func_w0404.py new file mode 100644 index 0000000..563e824 --- /dev/null +++ b/test/input/func_w0404.py @@ -0,0 +1,7 @@ +"""pylint ticket #60828""" + +__revision__ = 0 + +def reimport(): + """docstring""" + import os diff --git a/test/messages/func_w0404.txt b/test/messages/func_w0404.txt new file mode 100644 index 0000000..423121a --- /dev/null +++ b/test/messages/func_w0404.txt @@ -0,0 +1 @@ +W: 7:reimport: Unused variable 'os' |