projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6e2c8c
)
One last precaution with temp files on Windows.
author
Robert Bradshaw
<robertwb@math.washington.edu>
Tue, 17 Nov 2009 21:35:14 +0000
(13:35 -0800)
committer
Robert Bradshaw
<robertwb@math.washington.edu>
Tue, 17 Nov 2009 21:35:14 +0000
(13:35 -0800)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index c2033547485500d3cf729fc852f5f51be7c90166..5dc5ec32fbec4131fddee287ba96fe31698b07e6 100644
(file)
--- 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