aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/u/unused/unused_import_everything_disabled.py
diff options
context:
space:
mode:
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)