Skip to content

Commit 135373c

Browse files
Skip test_private_anonymous on Windows.
1 parent 1e99714 commit 135373c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_mmap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ def test_anonymous(self):
546546
with self.assertRaises(ValueError):
547547
m.resize(PAGESIZE)
548548

549+
@unittest.skipUnless(os.name == 'posix', 'requires Posix')
549550
def test_private_anonymous(self):
550551
m = mmap.mmap(-1, PAGESIZE, flags=mmap.MAP_PRIVATE)
551552
for x in range(PAGESIZE):

0 commit comments

Comments
 (0)