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"""
KeyError: 'f_noprof'
>>> short_stats['f_raise']
100
>>> os.unlink(statsfile)
>>> try:
... os.unlink(statsfile)
... except:
... pass
"""
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