diff options
Diffstat (limited to 'astroid/tests/testdata/python2/data/lmfp/foo.py')
-rw-r--r-- | astroid/tests/testdata/python2/data/lmfp/foo.py | 6 |
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) |