Merge.
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py
index 850768f..712378b 100644
--- a/Lib/test/test_mmap.py
+++ b/Lib/test/test_mmap.py
@@ -673,6 +673,7 @@
             f.write(tail)
             f.flush()
         except (IOError, OverflowError):
+            f.close()
             raise unittest.SkipTest("filesystem does not have largefile support")
         return f