[Python-checkins] cpython (merge 3.5 -> default): 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:28 EDT 2016
https://hg.python.org/cpython/rev/6147a2c99db0
changeset: 101482:6147a2c99db0
parent: 101480:7eb20f06c6e9
parent: 101481:bca81ea8f898
user: Serhiy Storchaka <storchaka at gmail.com>
date: Mon May 23 08:42:09 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
@@ -738,7 +738,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