skip test on windows

This commit is contained in:
Benjamin Peterson 2016-10-05 22:09:31 -07:00
parent cf0b9da988
commit 4c8b2cd126

View file

@ -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)