From: Benjamin Peterson Date: Thu, 6 Oct 2016 05:09:31 +0000 (-0700) Subject: skip test on windows X-Git-Tag: v2.7.13rc1~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46550fffa77613813d536d73da1b88cf9a28ad94;p=thirdparty%2FPython%2Fcpython.git skip test on windows --- diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index 092c4a16aba7..0350b3de38f2 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py @@ -652,6 +652,7 @@ class MmapTests(unittest.TestCase): finally: s.close() + @unittest.skipIf(os.name == 'nt', 'cannot resize anonymous mmaps on Windows') def test_resize_past_pos(self): m = mmap.mmap(-1, 8192) self.addCleanup(m.close)