diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index c5577aa9586..f3f70cc2511 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py @@ -713,6 +713,7 @@ def test_weakref(self): 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)