Jonathan Giddy write:

In test_cpickle.py, the module os got imported, but the line to remove
the temp file has gone missing.
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 @@
         pass
     else:
         print "load from closed file should raise IOError"
+    os.remove(fn)
 
 dotest()