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 35b465c commit aabb794Copy full SHA for aabb794
1 file changed
pythonbuild/disttests/__init__.py
@@ -352,6 +352,13 @@ def test_socket_af_vsock(self):
352
self.assertTrue(hasattr(socket, "AF_VSOCK"))
353
self.assertEqual(socket.AF_VSOCK, 40)
354
355
+ @unittest.skipUnless(
356
+ "-linux-gnu" in os.environ["TARGET_TRIPLE"],
357
+ "modern kernel UAPI headers are currently enabled for Linux GNU targets",
358
+ )
359
+ def test_os_pidfd_open(self):
360
+ self.assertTrue(hasattr(os, "pidfd_open"))
361
+
362
def test_linux_uapi_not_in_sysconfig(self):
363
import sysconfig
364
0 commit comments