Skip to content

Conversation

@pxinwr
Copy link
Contributor

@pxinwr pxinwr commented Jul 30, 2020

Some operating systems, for example VxWorks RTOS, don't support fork(). Some test cases that depend on os.fork() will fail.
test_ssl.BasicSocketTests.test_random_fork and test_uuid.TestUUIDWithExtModule.testIssue8621 are this case. So add os.fork attribute checking to skip the tests.

https://bugs.python.org/issue41439

@pxinwr pxinwr requested a review from tiran as a code owner July 30, 2020 06:17
@bedevere-bot bedevere-bot added tests Tests in the Lib/test dir awaiting review labels Jul 30, 2020
@vstinner vstinner merged commit 98a5417 into python:master Dec 8, 2020
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
@pxinwr pxinwr deleted the fix-issue-31904-nofork branch May 7, 2021 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants