# HG changeset patch # User John Beck # Date 1441745078 25200 # Node ID ef6acf67d02a79687bbb0bac3277560e6582aeb4 # Parent a28c7fb418c9bba88331b5a56da4cfa8af87929b 21792076 Python 3.4 regression test test_mmap fails in large file tests diff -r a28c7fb418c9 -r ef6acf67d02a components/python/python34/patches/26-test_mmap.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/python/python34/patches/26-test_mmap.patch Tue Sep 08 13:44:38 2015 -0700 @@ -0,0 +1,19 @@ +This patch has been submitted upstream, and accepted; it should no longer be +needed with the next Python version upgrade: + +http://bugs.python.org/issue25004 + +--- Python-3.4.3/Lib/test/test_mmap.py.~1~ 2015-08-28 12:40:08.000000000 -0700 ++++ Python-3.4.3/Lib/test/test_mmap.py 2015-09-04 14:51:47.034993552 -0700 +@@ -727,7 +727,10 @@ + 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 +