summaryrefslogtreecommitdiff
path: root/testutils.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2014-09-30 19:59:52 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2014-09-30 19:59:52 +0300
commitaa81d02db882abf5fc5bd32333808c15e65d8544 (patch)
treefd38b25e1ff27e941a591589b1c6d32301019bf1 /testutils.py
parent29fe4a7c7a42a8269293ac99ea6c52a3e6a8929d (diff)
downloadpylint-git-aa81d02db882abf5fc5bd32333808c15e65d8544.tar.gz
Ignore .pyc files for the old functional test framework.
Diffstat (limited to 'testutils.py')
-rw-r--r--testutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testutils.py b/testutils.py
index a059fe46c..8ceac5fd4 100644
--- a/testutils.py
+++ b/testutils.py
@@ -355,7 +355,7 @@ def make_tests(input_dir, msg_dir, filter_rgx, callbacks):
for module_file, messages_file in (
get_tests_info(input_dir, msg_dir, 'func_', '')
):
- if not is_to_run(module_file):
+ if not is_to_run(module_file) or module_file.endswith('.pyc'):
continue
base = module_file.replace('func_', '').replace('.py', '')