1import unittest 2import test._test_multiprocessing 3 4import sys 5from test import support 6 7if support.PGO: 8 raise unittest.SkipTest("test is not helpful for PGO") 9 10if sys.platform == "win32": 11 raise unittest.SkipTest("fork is not available on Windows") 12 13if sys.platform == 'darwin': 14 raise unittest.SkipTest("test may crash on macOS (bpo-33725)") 15 16test._test_multiprocessing.install_tests_in_module_dict(globals(), 'fork') 17 18if __name__ == '__main__': 19 unittest.main() 20