mirror of
https://github.com/python/cpython.git
synced 2025-12-31 12:33:28 +00:00
Issue #25004: Handle out-of-disk-space error in LargeMmapTests
Patch from John Beck.
This commit is contained in:
parent
7f02d6d0d9
commit
e8d58d1f02
2 changed files with 5 additions and 1 deletions
|
|
@ -727,7 +727,10 @@ def _make_test_file(self, num_zeroes, tail):
|
|||
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
|
||||
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@ Mike Bayer
|
|||
Samuel L. Bayer
|
||||
Donald Beaudry
|
||||
David Beazley
|
||||
John Beck
|
||||
Neal Becker
|
||||
Robin Becker
|
||||
Torsten Becker
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue