]> granicus.if.org Git - python/commitdiff
Jonathan Giddy write:
authorGuido van Rossum <guido@python.org>
Thu, 1 Apr 1999 15:32:30 +0000 (15:32 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 1 Apr 1999 15:32:30 +0000 (15:32 +0000)
In test_cpickle.py, the module os got imported, but the line to remove
the temp file has gone missing.

Lib/test/test_cpickle.py

index 90326f78dd88b53b826591b08f42a5bc9a580b9d..9088eb7602ecda66c4085b5a964365a5d9d8b3fb 100644 (file)
@@ -91,5 +91,6 @@ def dotest():
         pass
     else:
         print "load from closed file should raise IOError"
+    os.remove(fn)
 
 dotest()