summaryrefslogtreecommitdiff
path: root/tests/regrtest_data
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-05-02 09:58:54 +0200
committerGitHub <noreply@github.com>2022-05-02 09:58:54 +0200
commit603be8408a5d2d98283f41cfd9a94998fd7cfd3c (patch)
tree304fa90b4e42df5961b5f991ff7e3d204238b396 /tests/regrtest_data
parenta75006951fe43fa1b7df8c810b33b1d5e39f4261 (diff)
downloadpylint-git-603be8408a5d2d98283f41cfd9a94998fd7cfd3c.tar.gz
Do not append namespace packages to sys.path (#6405)
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Diffstat (limited to 'tests/regrtest_data')
-rw-r--r--tests/regrtest_data/namespace_import_self/else/__init__.py0
-rw-r--r--tests/regrtest_data/namespace_import_self/pylint/__init__.py5
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/regrtest_data/namespace_import_self/else/__init__.py b/tests/regrtest_data/namespace_import_self/else/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/regrtest_data/namespace_import_self/else/__init__.py
diff --git a/tests/regrtest_data/namespace_import_self/pylint/__init__.py b/tests/regrtest_data/namespace_import_self/pylint/__init__.py
new file mode 100644
index 000000000..cce5e5302
--- /dev/null
+++ b/tests/regrtest_data/namespace_import_self/pylint/__init__.py
@@ -0,0 +1,5 @@
+"""Module that imports from its own namespace."""
+
+from pylint import run_pylint
+
+run_pylint()