diff options
| author | Emile Anclin <emile.anclin@logilab.fr> | 2009-03-09 19:50:07 +0100 |
|---|---|---|
| committer | Emile Anclin <emile.anclin@logilab.fr> | 2009-03-09 19:50:07 +0100 |
| commit | cdcce626fdd19d9e47fb27b04f6d380c9ebc11d9 (patch) | |
| tree | b63a77c9812f76d69ca374ffab9d4e202960312d /test/test_func.py | |
| parent | 07e4927652b21e4c7010a94f8312195b71bad565 (diff) | |
| download | pylint-cdcce626fdd19d9e47fb27b04f6d380c9ebc11d9.tar.gz | |
get the right regex method for filtering tests
Diffstat (limited to 'test/test_func.py')
| -rw-r--r-- | test/test_func.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_func.py b/test/test_func.py index e3724eb..d5eeaf0 100644 --- a/test/test_func.py +++ b/test/test_func.py @@ -146,7 +146,7 @@ def make_tests(filter_rgx): return the list of generated test classes """ if filter_rgx: - is_to_run = re.compile(filter_rgx).match + is_to_run = re.compile(filter_rgx).search else: is_to_run = lambda x: 1 tests = [] |
