Issue #25004: Handle out-of-disk-space error in LargeMmapTests
Patch from John Beck.
This commit is contained in:
parent
7f02d6d0d9
commit
e8d58d1f02
|
@ -727,7 +727,10 @@ class LargeMmapTests(unittest.TestCase):
|
|||
f.write(tail)
|
||||
f.flush()
|
||||
except (OSError, OverflowError):
|
||||
f.close()
|
||||
try:
|
||||
f.close()
|
||||
except (OSError, OverflowError):
|
||||
pass
|
||||
raise unittest.SkipTest("filesystem does not have largefile support")
|
||||
return f
|
||||
|
||||
|
|
Loading…
Reference in New Issue