projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf05c0a
)
fix source filename assembly in test runner
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 11 Jul 2008 06:52:31 +0000
(08:52 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 11 Jul 2008 06:52:31 +0000
(08:52 +0200)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index 2e6a91625eedc80851264d95f3b7a5f7c31ff21a..11037acc17cf86526bd45d29ef8b688dcf5e2e71 100644
(file)
--- a/
runtests.py
+++ b/
runtests.py
@@
-149,9
+149,9
@@
class CythonCompileTestCase(unittest.TestCase):
return source_file
def split_source_and_output(self, directory, module, workdir):
- source_file = os.path.join(directory, module)
+ source_file = os.path.join(directory, module)
+ '.pyx'
source_and_output = open(
- self.find_module_source_file(source_file), 'rU')
+
self.find_module_source_file(source_file), 'rU')
out = open(os.path.join(workdir, module + '.pyx'), 'w')
for line in source_and_output:
last_line = line