summaryrefslogtreecommitdiff
path: root/tests/testdata
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2021-10-17 10:04:16 +0200
committerGitHub <noreply@github.com>2021-10-17 10:04:16 +0200
commitabfad38e1a2acba0bcdda217c8fdbe0382c7268f (patch)
tree0ccaf772e862cfd5ade7fed802380d4bc264ae45 /tests/testdata
parentb2f57b7e5e49253c69bd7335999b20fea9e3633a (diff)
downloadastroid-git-abfad38e1a2acba0bcdda217c8fdbe0382c7268f.tar.gz
Fix regression with import resolver (#1211)
* Fix regression with import resolver Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests/testdata')
-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