Skip to content

Commit 94d0268

Browse files
committed
nit
1 parent 73bf762 commit 94d0268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_mmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ def test_flush_parameters(self):
11651165
m.flush(PAGESIZE)
11661166
m.flush(PAGESIZE, PAGESIZE)
11671167

1168-
@unittest.skipUnless(hasattr(mmap, 'MAP_ANONYMOUS') and sys.platform == "linux", 'requires MAP_ANONYMOUS and should be linux')
1168+
@support.requires_linux_version(5, 17, 0)
11691169
def test_set_name(self):
11701170
# Test setting name on anonymous mmap
11711171
m = mmap.mmap(-1, PAGESIZE)

0 commit comments

Comments
 (0)