From e3609d3abe98c3807dc31e07124f2e6f70db72cb Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Tue, 17 Nov 2009 13:35:14 -0800 Subject: [PATCH] One last precaution with temp files on Windows. --- runtests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtests.py b/runtests.py index c2033547..5dc5ec32 100644 --- a/runtests.py +++ b/runtests.py @@ -444,7 +444,8 @@ class CythonRunTestCase(CythonCompileTestCase): raise Exception("Tests in module '%s' exited with status %d" % (module_name, result_code >> 8)) finally: - os.unlink(result_file) + try: os.unlink(result_file) + except: pass is_private_field = re.compile('^_[^_]').match -- 2.26.2