diff options
| author | Emile Anclin <emile.anclin@logilab.fr> | 2010-11-17 11:51:22 +0100 |
|---|---|---|
| committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-11-17 11:51:22 +0100 |
| commit | afc30a4a7bf5f3a14a75180a05d5c74e8a4a1de5 (patch) | |
| tree | ab4bd801fc96e50687989ba7401d9714096e130a /test/test_func.py | |
| parent | fdca1d446d9de6dac6584c79ab938e370b969a30 (diff) | |
| download | pylint-afc30a4a7bf5f3a14a75180a05d5c74e8a4a1de5.tar.gz | |
tests: refactor possibility to have two messages or two inputs
Diffstat (limited to 'test/test_func.py')
| -rw-r--r-- | test/test_func.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/test/test_func.py b/test/test_func.py index 9765088..a3c7361 100644 --- a/test/test_func.py +++ b/test/test_func.py @@ -179,17 +179,10 @@ def make_tests(filter_rgx): is_to_run = lambda x: 1 tests = [] for module_file, messages_file in get_tests_info('func_', '.py'): - pyrestr = module_file.rsplit('_py', 1)[-1][:-3] - if pyrestr.isdigit(): # '24', '25'... - if sys.version_info < tuple([int(i) for i in pyrestr]): - continue - if pyrestr.startswith('_') and pyrestr[1:].isdigit(): - # skip test for higher python versions - if sys.version_info >= ( int(pyrestr[1]), int(pyrestr[2]) ): - continue if not is_to_run(module_file): continue base = module_file.replace('func_', '').replace('.py', '') + dependencies = get_tests_info(base, '.py') class LintTestUsingModuleTC(LintTestUsingModule): |
