aboutsummaryrefslogtreecommitdiff
path: root/tests/testdata/python3/data
diff options
context:
space:
mode:
authorDaniël van Noord <13665637+DanielNoord@users.noreply.github.com>2021-10-12 10:10:04 +0200
committerDaniël van Noord <13665637+DanielNoord@users.noreply.github.com>2021-10-12 10:10:04 +0200
commit02f8b1627ca488b231bb9efa8ad3e65c59fa6d83 (patch)
treebca42c93598d0bf3dd29254901c146ebc4d006b1 /tests/testdata/python3/data
parent2594d32696b88e0862f9e126dfa8bdd10089fde1 (diff)
downloadastroid-02f8b1627ca488b231bb9efa8ad3e65c59fa6d83.tar.gz
Fix regression with import resolver
Diffstat (limited to 'tests/testdata/python3/data')
-rw-r--r--tests/testdata/python3/data/beyond_top_level_three/double_name/__init__.py0
-rw-r--r--tests/testdata/python3/data/beyond_top_level_three/module/__init__.py0
-rw-r--r--tests/testdata/python3/data/beyond_top_level_three/module/double_name/__init__.py0
-rw-r--r--tests/testdata/python3/data/beyond_top_level_three/module/double_name/function.py0
-rw-r--r--tests/testdata/python3/data/beyond_top_level_three/module/sub_module/__init__.py0
-rw-r--r--tests/testdata/python3/data/beyond_top_level_three/module/sub_module/sub_sub_module/__init__.py0
-rw-r--r--tests/testdata/python3/data/beyond_top_level_three/module/sub_module/sub_sub_module/main.py1
7 files changed, 1 insertions, 0 deletions
diff --git a/tests/testdata/python3/data/beyond_top_level_three/double_name/__init__.py b/tests/testdata/python3/data/beyond_top_level_three/double_name/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/testdata/python3/data/beyond_top_level_three/double_name/__init__.py
diff --git a/tests/testdata/python3/data/beyond_top_level_three/module/__init__.py b/tests/testdata/python3/data/beyond_top_level_three/module/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/testdata/python3/data/beyond_top_level_three/module/__init__.py
diff --git a/tests/testdata/python3/data/beyond_top_level_three/module/double_name/__init__.py b/tests/testdata/python3/data/beyond_top_level_three/module/double_name/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/testdata/python3/data/beyond_top_level_three/module/double_name/__init__.py
diff --git a/tests/testdata/python3/data/beyond_top_level_three/module/double_name/function.py b/tests/testdata/python3/data/beyond_top_level_three/module/double_name/function.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/testdata/python3/data/beyond_top_level_three/module/double_name/function.py
diff --git a/tests/testdata/python3/data/beyond_top_level_three/module/sub_module/__init__.py b/tests/testdata/python3/data/beyond_top_level_three/module/sub_module/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/testdata/python3/data/beyond_top_level_three/module/sub_module/__init__.py
diff --git a/tests/testdata/python3/data/beyond_top_level_three/module/sub_module/sub_sub_module/__init__.py b/tests/testdata/python3/data/beyond_top_level_three/module/sub_module/sub_sub_module/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/testdata/python3/data/beyond_top_level_three/module/sub_module/sub_sub_module/__init__.py
diff --git a/tests/testdata/python3/data/beyond_top_level_three/module/sub_module/sub_sub_module/main.py b/tests/testdata/python3/data/beyond_top_level_three/module/sub_module/sub_sub_module/main.py
new file mode 100644
index 00000000..b9cd0bbc
--- /dev/null
+++ b/tests/testdata/python3/data/beyond_top_level_three/module/sub_module/sub_sub_module/main.py
@@ -0,0 +1 @@
+from ...double_name import function