• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import os.path
2import unittest
3from test import support
4from test.support import threading_helper
5
6
7# Adjust if we ever have a platform with processes but not threads.
8threading_helper.requires_working_threading(module=True)
9
10
11if support.check_sanitizer(address=True, memory=True):
12    # gh-90791: Skip the test because it is too slow when Python is built
13    # with ASAN/MSAN: between 5 and 20 minutes on GitHub Actions.
14    raise unittest.SkipTest("test too slow on ASAN/MSAN build")
15
16
17def load_tests(*args):
18    return support.load_package_tests(os.path.dirname(__file__), *args)
19