diff options
| author | Martin Panter <vadmium> | 2015-09-07 04:04:40 +0000 |
|---|---|---|
| committer | Martin Panter <vadmium> | 2015-09-07 04:04:40 +0000 |
| commit | da19767b86dcee5810ad8c77a05811be041d7c89 (patch) | |
| tree | cb5a3119a7e9033a221cba4c71430083e75815b6 /Lib/test/test_mmap.py | |
| parent | 6cb196306afe6b2958d76813214d396923d72116 (diff) | |
| parent | e8d58d1f022b41e3da80ccca7bf3586e2898874a (diff) | |
| download | cpython-git-da19767b86dcee5810ad8c77a05811be041d7c89.tar.gz | |
Issue #25004: Merge 3.4 into 3.5
Diffstat (limited to 'Lib/test/test_mmap.py')
| -rw-r--r-- | Lib/test/test_mmap.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index 3de84e8bef..0f25742c48 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py @@ -731,7 +731,10 @@ class LargeMmapTests(unittest.TestCase): f.write(tail) f.flush() except (OSError, OverflowError): - f.close() + try: + f.close() + except (OSError, OverflowError): + pass raise unittest.SkipTest("filesystem does not have largefile support") return f |
