From: Stefan Behnel Date: Thu, 7 Apr 2011 11:30:52 +0000 (+0200) Subject: test runner fix X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=292c1eb0a8980aa2393b0c5ecd98782892819b1f;p=cython.git test runner fix --- diff --git a/runtests.py b/runtests.py index f30f6b64..3dce408c 100644 --- a/runtests.py +++ b/runtests.py @@ -128,7 +128,6 @@ def memoize(f): return res return func -@memoize def parse_tags(filepath): tags = defaultdict(list) for line in open(filepath): @@ -144,6 +143,9 @@ def parse_tags(filepath): tags[tag].extend([value.strip() for value in values]) return tags +parse_tags = memoize(parse_tags) + + class build_ext(_build_ext): def build_extension(self, ext): if ext.language == 'c++':