Skip to content

Commit 4c8b2cd

Browse files
committed
skip test on windows
1 parent cf0b9da commit 4c8b2cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_mmap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,7 @@ def test_weakref(self):
713713
gc_collect()
714714
self.assertIs(wr(), None)
715715

716+
@unittest.skipIf(os.name == 'nt', 'cannot resize anonymous mmaps on Windows')
716717
def test_resize_past_pos(self):
717718
m = mmap.mmap(-1, 8192)
718719
self.addCleanup(m.close)

0 commit comments

Comments
 (0)