From fddbab389bdf590b0b7534694d3095a53b6630ea Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 11 Jul 2008 08:52:31 +0200 Subject: [PATCH] fix source filename assembly in test runner --- runtests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtests.py b/runtests.py index 2e6a9162..11037acc 100644 --- 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 -- 2.26.2