There was an error while loading. Please reload this page.
1 parent eda385c commit 6eb814bCopy full SHA for 6eb814b
2 files changed
Lib/test/test_os.py
@@ -3123,6 +3123,7 @@ def test_stty_match(self):
3123
3124
3125
@unittest.skipUnless(hasattr(os, 'memfd_create'), 'requires os.memfd_create')
3126
+@support.requires_linux_version(3, 17)
3127
class MemfdCreateTests(unittest.TestCase):
3128
def test_memfd_create(self):
3129
fd = os.memfd_create("Hi", os.MFD_CLOEXEC)
Misc/NEWS.d/next/Tests/2019-05-30-10-57-39.bpo-37098.SfXt1M.rst
@@ -0,0 +1 @@
1
+Fix test_memfd_create on older Linux Kernels.
0 commit comments