We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73bf762 commit 94d0268Copy full SHA for 94d0268
Lib/test/test_mmap.py
@@ -1165,7 +1165,7 @@ def test_flush_parameters(self):
1165
m.flush(PAGESIZE)
1166
m.flush(PAGESIZE, PAGESIZE)
1167
1168
- @unittest.skipUnless(hasattr(mmap, 'MAP_ANONYMOUS') and sys.platform == "linux", 'requires MAP_ANONYMOUS and should be linux')
+ @support.requires_linux_version(5, 17, 0)
1169
def test_set_name(self):
1170
# Test setting name on anonymous mmap
1171
m = mmap.mmap(-1, PAGESIZE)
0 commit comments