diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-23 08:41:48 +0300 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-23 08:41:48 +0300 |
| commit | 05d3921cc138ced6b5988c027275a601a6c9fb84 (patch) | |
| tree | c124a27b0f64e07aab1b04ffeab8f772e4e5d40f /Lib/test/test_mmap.py | |
| parent | 5917f973ac72c24570b340ce22b41c116036cdcb (diff) | |
| download | cpython-git-05d3921cc138ced6b5988c027275a601a6c9fb84.tar.gz | |
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 0f25742c48..b365d84865 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): |
