Commit 04c2f16b authored by Robert Bradshaw's avatar Robert Bradshaw

Try-except around doctest tempfile deletion (for windows).

parent 76db867b
...@@ -20,7 +20,10 @@ __doc__ = u""" ...@@ -20,7 +20,10 @@ __doc__ = u"""
KeyError: 'f_noprof' KeyError: 'f_noprof'
>>> short_stats['f_raise'] >>> short_stats['f_raise']
100 100
>>> os.unlink(statsfile) >>> try:
... os.unlink(statsfile)
... except:
... pass
""" """
import sys import sys
......
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