Commit e3609d3a authored by Robert Bradshaw's avatar Robert Bradshaw

One last precaution with temp files on Windows.

parent c6e2c8c9
...@@ -444,7 +444,8 @@ class CythonRunTestCase(CythonCompileTestCase): ...@@ -444,7 +444,8 @@ class CythonRunTestCase(CythonCompileTestCase):
raise Exception("Tests in module '%s' exited with status %d" % raise Exception("Tests in module '%s' exited with status %d" %
(module_name, result_code >> 8)) (module_name, result_code >> 8))
finally: finally:
os.unlink(result_file) try: os.unlink(result_file)
except: pass
is_private_field = re.compile('^_[^_]').match is_private_field = re.compile('^_[^_]').match
......
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