mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-35412: Skip test_multiprocessing_fork and test_multiprocessing_forkserver on Windows (GH-11086)
Forkserver and fork are not available on Windows and therefore these test must be skipped.
This commit is contained in:
parent
dc525f4315
commit
a932d0b496
2 changed files with 7 additions and 0 deletions
|
@ -1,11 +1,15 @@
|
|||
import unittest
|
||||
import test._test_multiprocessing
|
||||
|
||||
import sys
|
||||
from test import support
|
||||
|
||||
if support.PGO:
|
||||
raise unittest.SkipTest("test is not helpful for PGO")
|
||||
|
||||
if sys.platform == "win32":
|
||||
raise unittest.SkipTest("forkserver is not available on Windows")
|
||||
|
||||
test._test_multiprocessing.install_tests_in_module_dict(globals(), 'forkserver')
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue