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