diff options
| author | Martin Panter <vadmium> | 2015-09-07 04:07:06 (GMT) |
|---|---|---|
| committer | Martin Panter <vadmium> | 2015-09-07 04:07:06 (GMT) |
| commit | 1b8be1fbe5554ff7d145fd7596b07940249ee53f (patch) | |
| tree | 77511cbc81db4185080247afc80d096f1f087b82 /Lib/test/test_mmap.py | |
| parent | 015e3f65bcd0513f1a0d62f1fbddd48edc6af20d (diff) | |
| parent | da19767b86dcee5810ad8c77a05811be041d7c89 (diff) | |
| download | cpython-1b8be1fbe5554ff7d145fd7596b07940249ee53f.zip cpython-1b8be1fbe5554ff7d145fd7596b07940249ee53f.tar.gz cpython-1b8be1fbe5554ff7d145fd7596b07940249ee53f.tar.bz2 | |
Issue #25004: Merge 3.5 into 3.6
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 3de84e8..0f25742 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 |
