Commits

Anonymous committed 26bee6e Merge

Merge: Fix potential resource leak in test_mmap.

Comments (0)

Files changed (1)

Lib/test/test_mmap.py

             f.write(tail)
             f.flush()
         except (IOError, OverflowError):
+            f.close()
             raise unittest.SkipTest("filesystem does not have largefile support")
         return f