summaryrefslogtreecommitdiff
path: root/tests/testdata/python3/data/conditional.py
diff options
context:
space:
mode:
authorRené Fritze <47802+renefritze@users.noreply.github.com>2021-08-05 10:09:08 +0200
committerGitHub <noreply@github.com>2021-08-05 10:09:08 +0200
commitdde5508ea6dba400c48db5bfafee7747bb59ae34 (patch)
treea8b47cfb5fac8e0facbaa01173f6fbdd5a861872 /tests/testdata/python3/data/conditional.py
parente92c36d12a2054019a16c8b623163a9f2908ef7d (diff)
downloadastroid-git-dde5508ea6dba400c48db5bfafee7747bb59ae34.tar.gz
Conditional test pickle (#935)
* [tests] adds a test for conditional definition lookup * [tests] duplicate the conditional def test into a sub package * add pyMOR example code and change test to only check for Uninferable Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests/testdata/python3/data/conditional.py')
-rw-r--r--tests/testdata/python3/data/conditional.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testdata/python3/data/conditional.py b/tests/testdata/python3/data/conditional.py
new file mode 100644
index 00000000..8f607c23
--- /dev/null
+++ b/tests/testdata/python3/data/conditional.py
@@ -0,0 +1,6 @@
+from data.conditional_import import (
+ dump,
+ # dumps,
+ # load,
+ # loads,
+) \ No newline at end of file