diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-23 05:41:48 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-23 05:41:48 (GMT) |
commit | 05d3921cc138ced6b5988c027275a601a6c9fb84 (patch) | |
tree | c124a27b0f64e07aab1b04ffeab8f772e4e5d40f /Lib/test/test_mmap.py | |
parent | 5917f973ac72c24570b340ce22b41c116036cdcb (diff) | |
download | cpython-05d3921cc138ced6b5988c027275a601a6c9fb84.zip cpython-05d3921cc138ced6b5988c027275a601a6c9fb84.tar.gz cpython-05d3921cc138ced6b5988c027275a601a6c9fb84.tar.bz2 |
Issue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android).
Patch by Xavier de Gaye.
Diffstat (limited to 'Lib/test/test_mmap.py')
-rw-r--r-- | 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 index 0f25742..b365d84 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py @@ -730,7 +730,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): |