summaryrefslogtreecommitdiff
path: root/astroid/tests/testdata/python2/data/lmfp/foo.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/tests/testdata/python2/data/lmfp/foo.py')
-rw-r--r--astroid/tests/testdata/python2/data/lmfp/foo.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/astroid/tests/testdata/python2/data/lmfp/foo.py b/astroid/tests/testdata/python2/data/lmfp/foo.py
new file mode 100644
index 00000000..8f7de1e8
--- /dev/null
+++ b/astroid/tests/testdata/python2/data/lmfp/foo.py
@@ -0,0 +1,6 @@
+import sys
+if not getattr(sys, 'bar', None):
+ sys.just_once = []
+# there used to be two numbers here because
+# of a load_module_from_path bug
+sys.just_once.append(42)