summaryrefslogtreecommitdiff
path: root/tests/functional/u/unused/unused_import_everything_disabled.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-03-07 20:21:07 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-03-07 20:51:46 +0100
commite86d859b792769b422f96fd625efebd8f60118e4 (patch)
treeb0429e767063354be44854a840856d5aeabc1fbc /tests/functional/u/unused/unused_import_everything_disabled.py
parent9d312eb542d8634e906508f5bbecb9a10a4da4ee (diff)
downloadpylint-git-e86d859b792769b422f96fd625efebd8f60118e4.tar.gz
Create subdirectory for crowded functional tests
Diffstat (limited to 'tests/functional/u/unused/unused_import_everything_disabled.py')
-rw-r--r--tests/functional/u/unused/unused_import_everything_disabled.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/functional/u/unused/unused_import_everything_disabled.py b/tests/functional/u/unused/unused_import_everything_disabled.py
new file mode 100644
index 000000000..7d6cce74c
--- /dev/null
+++ b/tests/functional/u/unused/unused_import_everything_disabled.py
@@ -0,0 +1,8 @@
+"""Test that unused-import is not emitted here when everything else is disabled
+
+https://github.com/PyCQA/pylint/issues/3445
+"""
+from os import environ
+
+for k, v in environ.items():
+ print(k, v)