projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1de0131
)
test runner fix
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 7 Apr 2011 11:30:52 +0000
(13:30 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 7 Apr 2011 11:30:52 +0000
(13:30 +0200)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index f30f6b6432ab1a45725a59a097e75031c3601c16..3dce408c0d9819e3188c12fd4cd6485a1322caaa 100644
(file)
--- 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++':