summaryrefslogtreecommitdiff
path: root/tests/input
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-03-09 21:06:36 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-03-14 19:48:30 +0100
commit2311398f99759aa22b225d3f5bc4a901ceba50c3 (patch)
treecec008347e288dfd52dd387395123fcb81830055 /tests/input
parentf9c45916843996b545c954a7ca958133fe7b1e95 (diff)
downloadpylint-git-2311398f99759aa22b225d3f5bc4a901ceba50c3.tar.gz
Migrate func_w0405.py to new functional tests
Diffstat (limited to 'tests/input')
-rw-r--r--tests/input/func_w0405.py31
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