Issue #25004: Merge 3.5 into 3.6
This commit is contained in:
commit
1b8be1fbe5
|
@ -731,7 +731,10 @@ class LargeMmapTests(unittest.TestCase):
|
||||||
f.write(tail)
|
f.write(tail)
|
||||||
f.flush()
|
f.flush()
|
||||||
except (OSError, OverflowError):
|
except (OSError, OverflowError):
|
||||||
f.close()
|
try:
|
||||||
|
f.close()
|
||||||
|
except (OSError, OverflowError):
|
||||||
|
pass
|
||||||
raise unittest.SkipTest("filesystem does not have largefile support")
|
raise unittest.SkipTest("filesystem does not have largefile support")
|
||||||
return f
|
return f
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue