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