diff options
| author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2011-07-08 14:29:52 +0200 |
|---|---|---|
| committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2011-07-08 14:29:52 +0200 |
| commit | d9020b892fc20aa7bd1a3c1b2651df17c6e5617f (patch) | |
| tree | 08cd88553c66bcb7536d819a50a13e7836e781c2 /test/regrtest_data | |
| parent | 188c595729ad759639f3cf081c1d126c7d292881 (diff) | |
| download | pylint-d9020b892fc20aa7bd1a3c1b2651df17c6e5617f.tar.gz | |
closes #70495: absolute imports fail depending on module path (patch by Jacek Konieczny)
Diffstat (limited to 'test/regrtest_data')
| -rw-r--r-- | test/regrtest_data/absimp/__init__.py | 5 | ||||
| -rw-r--r-- | test/regrtest_data/absimp/string.py | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test/regrtest_data/absimp/__init__.py b/test/regrtest_data/absimp/__init__.py new file mode 100644 index 0000000..b98444d --- /dev/null +++ b/test/regrtest_data/absimp/__init__.py @@ -0,0 +1,5 @@ +"""a package with absolute import activated +""" + +from __future__ import absolute_import + diff --git a/test/regrtest_data/absimp/string.py b/test/regrtest_data/absimp/string.py new file mode 100644 index 0000000..a4d01cb --- /dev/null +++ b/test/regrtest_data/absimp/string.py @@ -0,0 +1,7 @@ +""" +http://www.logilab.org/ticket/70495 +http://www.logilab.org/ticket/70565 +""" +from __future__ import absolute_import +import string +print string |
