Commit 6eb814b8 authored by Christian Heimes's avatar Christian Heimes Committed by GitHub

bpo-37098: Skip memfd_create test before Linux 3.17 (GH-13677)

parent eda385c0
......@@ -3123,6 +3123,7 @@ class TermsizeTests(unittest.TestCase):
@unittest.skipUnless(hasattr(os, 'memfd_create'), 'requires os.memfd_create')
@support.requires_linux_version(3, 17)
class MemfdCreateTests(unittest.TestCase):
def test_memfd_create(self):
fd = os.memfd_create("Hi", os.MFD_CLOEXEC)
......
Fix test_memfd_create on older Linux Kernels.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment