Commit da91d189 authored by Nadeem Vawda's avatar Nadeem Vawda

Merge: Fix potential resource leak in test_mmap.

parents ce792301 b0b05796
......@@ -673,6 +673,7 @@ class LargeMmapTests(unittest.TestCase):
f.write(tail)
f.flush()
except (IOError, OverflowError):
f.close()
raise unittest.SkipTest("filesystem does not have largefile support")
return f
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment