diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index bb0cfe7502f2ab..e4dbe8f21d7bd7 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -4342,7 +4342,8 @@ def sendAncillaryIfPossible(self, msg, ancdata): nbytes = self.sendmsgToServer([msg]) self.assertEqual(nbytes, len(msg)) - @unittest.skipIf(is_apple, "skipping, see issue #12958") + @unittest.skipIf(support.is_apple_mobile, "skipping, see issue #12958") + @support.requires_mac_ver(14, 0) def testFDPassEmpty(self): # Try to pass an empty FD array. Can receive either no array # or an empty array.