mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
bpo-41439: Skip test_ssl and test_uuid tests if fork() is not supported (GH-21684)
This commit is contained in:
parent
eb7594f857
commit
98a5417193
3 changed files with 3 additions and 2 deletions
2
Lib/test/test_uuid.py
Normal file → Executable file
2
Lib/test/test_uuid.py
Normal file → Executable file
|
@ -639,7 +639,7 @@ class BaseTestUUID:
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue