Commit 795c0632 authored by Stefan Behnel's avatar Stefan Behnel

remove copied HTML test data files after running test

parent ef67719a
...@@ -611,8 +611,8 @@ class CythonCompileTestCase(unittest.TestCase): ...@@ -611,8 +611,8 @@ class CythonCompileTestCase(unittest.TestCase):
for rmfile in os.listdir(self.workdir): for rmfile in os.listdir(self.workdir):
if not cleanup_c_files: if not cleanup_c_files:
if (rmfile[-2:] in (".c", ".h") or if (rmfile[-2:] in (".c", ".h") or
rmfile[-4:] == ".cpp" or rmfile[-4:] == ".cpp" or
rmfile.endswith(".html")): rmfile.endswith(".html") and rmfile.startswith(self.module)):
continue continue
if not cleanup_lib_files and (rmfile.endswith(".so") or rmfile.endswith(".dll")): if not cleanup_lib_files and (rmfile.endswith(".so") or rmfile.endswith(".dll")):
continue continue
......
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