Richard Oudkerk | 84ed9a6 | 2013-08-14 15:35:41 +0100 | [diff] [blame] | 1 | import unittest |
| 2 | import test._test_multiprocessing |
| 3 | |
Ned Deily | ac218bc | 2018-12-09 01:50:15 -0500 | [diff] [blame] | 4 | import sys |
Steve Dower | 22d0698 | 2016-09-06 19:38:15 -0700 | [diff] [blame] | 5 | from test import support |
| 6 | |
| 7 | if support.PGO: |
| 8 | raise unittest.SkipTest("test is not helpful for PGO") |
| 9 | |
Pablo Galindo | a932d0b | 2018-12-11 11:31:16 +0000 | [diff] [blame] | 10 | if sys.platform == "win32": |
| 11 | raise unittest.SkipTest("fork is not available on Windows") |
| 12 | |
Ned Deily | ac218bc | 2018-12-09 01:50:15 -0500 | [diff] [blame] | 13 | if sys.platform == 'darwin': |
| 14 | raise unittest.SkipTest("test may crash on macOS (bpo-33725)") |
Steve Dower | 22d0698 | 2016-09-06 19:38:15 -0700 | [diff] [blame] | 15 | |
Richard Oudkerk | 84ed9a6 | 2013-08-14 15:35:41 +0100 | [diff] [blame] | 16 | test._test_multiprocessing.install_tests_in_module_dict(globals(), 'fork') |
| 17 | |
| 18 | if __name__ == '__main__': |
| 19 | unittest.main() |