2013-08-14 22:35:41 +08:00
|
|
|
import unittest
|
|
|
|
import test._test_multiprocessing
|
|
|
|
|
2018-12-09 14:50:15 +08:00
|
|
|
import sys
|
2016-09-07 10:38:15 +08:00
|
|
|
from test import support
|
|
|
|
|
|
|
|
if support.PGO:
|
|
|
|
raise unittest.SkipTest("test is not helpful for PGO")
|
|
|
|
|
2018-12-11 19:31:16 +08:00
|
|
|
if sys.platform == "win32":
|
|
|
|
raise unittest.SkipTest("fork is not available on Windows")
|
|
|
|
|
2018-12-09 14:50:15 +08:00
|
|
|
if sys.platform == 'darwin':
|
|
|
|
raise unittest.SkipTest("test may crash on macOS (bpo-33725)")
|
2016-09-07 10:38:15 +08:00
|
|
|
|
2013-08-14 22:35:41 +08:00
|
|
|
test._test_multiprocessing.install_tests_in_module_dict(globals(), 'fork')
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
unittest.main()
|