summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cpickle.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-04-01 15:32:30 (GMT)
committerGuido van Rossum <guido@python.org>1999-04-01 15:32:30 (GMT)
commit8ff764f1134fb4f9ad79585e53805825ed36abb8 (patch)
tree05c08886417fde61cbac41004f28fabb4fca9f1f /Lib/test/test_cpickle.py
parent60e7330fee3e34732ab55cd6bb1212e138c11f7f (diff)
downloadcpython-8ff764f1134fb4f9ad79585e53805825ed36abb8.zip
cpython-8ff764f1134fb4f9ad79585e53805825ed36abb8.tar.gz
cpython-8ff764f1134fb4f9ad79585e53805825ed36abb8.tar.bz2
Jonathan Giddy write:
In test_cpickle.py, the module os got imported, but the line to remove the temp file has gone missing.
Diffstat (limited to 'Lib/test/test_cpickle.py')
-rw-r--r--Lib/test/test_cpickle.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_cpickle.py b/Lib/test/test_cpickle.py
index 90326f7..9088eb7 100644
--- a/Lib/test/test_cpickle.py
+++ b/Lib/test/test_cpickle.py
@@ -91,5 +91,6 @@ def dotest():
pass
else:
print "load from closed file should raise IOError"
+ os.remove(fn)
dotest()