Commit 695ec82c authored by Stefan Behnel's avatar Stefan Behnel

avoid wasting time on parsing pyregr test files for Cython tags

parent ee8d0ae5
......@@ -448,7 +448,10 @@ class TestBuilder(object):
continue
if filename.startswith('.'):
continue # certain emacs backup files
tags = parse_tags(filepath)
if context == 'pyregr':
tags = defaultdict(list)
else:
tags = parse_tags(filepath)
fqmodule = "%s.%s" % (context, module)
if not [ 1 for match in self.selectors
if match(fqmodule, tags) ]:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment