| 1 | import os.path |
| 2 | import unittest |
| 3 | from test import support |
| 4 | from test.support import import_helper |
| 5 | |
| 6 | # Skip tests if _multiprocessing wasn't built. |
| 7 | import_helper.import_module('_multiprocessing') |
| 8 | |
| 9 | if support.check_sanitizer(address=True, memory=True): |
| 10 | # gh-90791: Skip the test because it is too slow when Python is built |
| 11 | # with ASAN/MSAN: between 5 and 20 minutes on GitHub Actions. |
| 12 | raise unittest.SkipTest("test too slow on ASAN/MSAN build") |
| 13 | |
| 14 | |
| 15 | def load_tests(*args): |
| 16 | return support.load_package_tests(os.path.dirname(__file__), *args) |