diff options
author | Christian Heimes <christian@python.org> | 2019-05-30 11:27:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-30 11:27:06 +0200 |
commit | 6eb814b8ce9a4fed8773a65501fb96aad8b3ecf2 (patch) | |
tree | a2412a28a0e484b652fb8ea3c78b370800ac47d5 /Lib/test | |
parent | eda385c0dca62f97a8ae80feb57c2a51df3c807f (diff) | |
download | cpython-6eb814b8ce9a4fed8773a65501fb96aad8b3ecf2.tar.gz cpython-6eb814b8ce9a4fed8773a65501fb96aad8b3ecf2.zip |
bpo-37098: Skip memfd_create test before Linux 3.17 (GH-13677)
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_os.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 820c99c7a07..f17a19a7585 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -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) |