diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-03-09 21:06:36 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-03-14 19:48:30 +0100 |
commit | 2311398f99759aa22b225d3f5bc4a901ceba50c3 (patch) | |
tree | cec008347e288dfd52dd387395123fcb81830055 /tests/input | |
parent | f9c45916843996b545c954a7ca958133fe7b1e95 (diff) | |
download | pylint-git-2311398f99759aa22b225d3f5bc4a901ceba50c3.tar.gz |
Migrate func_w0405.py to new functional tests
Diffstat (limited to 'tests/input')
-rw-r--r-- | tests/input/func_w0405.py | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/input/func_w0405.py b/tests/input/func_w0405.py deleted file mode 100644 index 95c4d134f..000000000 --- a/tests/input/func_w0405.py +++ /dev/null @@ -1,31 +0,0 @@ -"""check reimport -""" -from __future__ import absolute_import, print_function - -# pylint: disable=using-constant-test,ungrouped-imports,wrong-import-position,import-outside-toplevel -import os -from os.path import join, exists -import os -import re as _re - -__revision__ = 0 -_re.match('yo', '.*') - -if __revision__: - print(os) - from os.path import exists - print(join, exists) - -def func(yooo): - """reimport in different scope""" - import os as ass - ass.remove(yooo) - import re - re.compile('.*') - -if 1: # pylint: disable=using-constant-test - import sys - print(sys.modules) -else: - print('bla') - import sys |