mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android).
Patch by Xavier de Gaye.
This commit is contained in:
commit
8ec1175204
1 changed files with 1 additions and 1 deletions
|
@ -738,7 +738,7 @@ class LargeMmapTests(unittest.TestCase):
|
|||
f.seek(num_zeroes)
|
||||
f.write(tail)
|
||||
f.flush()
|
||||
except (OSError, OverflowError):
|
||||
except (OSError, OverflowError, ValueError):
|
||||
try:
|
||||
f.close()
|
||||
except (OSError, OverflowError):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue