[Python-checkins] cpython (3.5): Issue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android).
serhiy.storchaka
python-checkins at python.org
Mon May 23 01:42:31 EDT 2016
https://hg.python.org/cpython/rev/bca81ea8f898
changeset: 101481:bca81ea8f898
branch: 3.5
parent: 101479:1464df337152
user: Serhiy Storchaka <storchaka at gmail.com>
date: Mon May 23 08:41:48 2016 +0300
summary:
Issue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android).
Patch by Xavier de Gaye.
files:
Lib/test/test_mmap.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py
--- a/Lib/test/test_mmap.py
+++ b/Lib/test/test_mmap.py
@@ -730,7 +730,7 @@
f.seek(num_zeroes)
f.write(tail)
f.flush()
- except (OSError, OverflowError):
+ except (OSError, OverflowError, ValueError):
try:
f.close()
except (OSError, OverflowError):
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list