Commit 292c1eb0 authored by Stefan Behnel's avatar Stefan Behnel

test runner fix

parent 1de01311
...@@ -128,7 +128,6 @@ def memoize(f): ...@@ -128,7 +128,6 @@ def memoize(f):
return res return res
return func return func
@memoize
def parse_tags(filepath): def parse_tags(filepath):
tags = defaultdict(list) tags = defaultdict(list)
for line in open(filepath): for line in open(filepath):
...@@ -144,6 +143,9 @@ def parse_tags(filepath): ...@@ -144,6 +143,9 @@ def parse_tags(filepath):
tags[tag].extend([value.strip() for value in values]) tags[tag].extend([value.strip() for value in values])
return tags return tags
parse_tags = memoize(parse_tags)
class build_ext(_build_ext): class build_ext(_build_ext):
def build_extension(self, ext): def build_extension(self, ext):
if ext.language == 'c++': if ext.language == 'c++':
......
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