mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
a932d0b496
Forkserver and fork are not available on Windows and therefore these test must be skipped.
17 lines
392 B
Python
17 lines
392 B
Python
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__':
|
|
unittest.main()
|