summaryrefslogtreecommitdiff
path: root/tests/testdata/python3
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-08-23 14:04:36 +0200
committerGitHub <noreply@github.com>2022-08-23 14:04:36 +0200
commitddfba9c583287436f1c3498cb9f5fd919fb33ed0 (patch)
tree6dd4824840724b41ac328b0b99cbc8ac884d3085 /tests/testdata/python3
parent0656fb62f7858730d28908e006c57903f9043c1b (diff)
downloadastroid-git-ddfba9c583287436f1c3498cb9f5fd919fb33ed0.tar.gz
Don't rely on the module cache when "importing self" (#1747)
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Diffstat (limited to 'tests/testdata/python3')
-rw-r--r--tests/testdata/python3/data/import_conflicting_names/math.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testdata/python3/data/import_conflicting_names/math.py b/tests/testdata/python3/data/import_conflicting_names/math.py
new file mode 100644
index 00000000..f954be14
--- /dev/null
+++ b/tests/testdata/python3/data/import_conflicting_names/math.py
@@ -0,0 +1,3 @@
+import math
+
+print(math)