summaryrefslogtreecommitdiff
path: root/pylint/test/regrtest_data/wrong_import_position.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/regrtest_data/wrong_import_position.py')
-rw-r--r--pylint/test/regrtest_data/wrong_import_position.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/pylint/test/regrtest_data/wrong_import_position.py b/pylint/test/regrtest_data/wrong_import_position.py
new file mode 100644
index 0000000..9e2d099
--- /dev/null
+++ b/pylint/test/regrtest_data/wrong_import_position.py
@@ -0,0 +1,11 @@
+"""Test that wrong-import-position is properly reset when
+other errors are disabled.
+"""
+# pylint: disable=unused-import, too-few-public-methods
+
+
+class Something(object):
+ """A class before an import."""
+
+
+import os