From 4c8b2cd12650a05d87f3cef7f457bfddaf79c0e0 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 5 Oct 2016 22:09:31 -0700 Subject: [PATCH] skip test on windows --- Lib/test/test_mmap.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index c5577aa958..f3f70cc251 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py @@ -713,6 +713,7 @@ class MmapTests(unittest.TestCase): gc_collect() self.assertIs(wr(), None) + @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) -- 2.40.0