bpo-41439: Skip test_ssl and test_uuid tests if fork() is not supported (GH-21684)
diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py
old mode 100644
new mode 100755
index 718113d..d6a8333
--- a/Lib/test/test_uuid.py
+++ b/Lib/test/test_uuid.py
@@ -639,7 +639,7 @@ def test_uuid5(self):
equal(u, self.uuid.UUID(v))
equal(str(u), v)
- @unittest.skipUnless(os.name == 'posix', 'requires Posix')
+ @unittest.skipUnless(hasattr(os, 'fork'), 'need os.fork')
def testIssue8621(self):
# On at least some versions of OSX self.uuid.uuid4 generates
# the same sequence of UUIDs in the parent and any