Debian Codegraph @

Lib/test/test_concurrent_futures/__init__.py

raw
1 import os.path
2 import unittest
3 from test import support
4 from test.support import threading_helper
5
6
7 # Adjust if we ever have a platform with processes but not threads.
8 threading_helper.requires_working_threading(module=True)
9
10
11 if 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
17 def load_tests(*args):
18 return support.load_package_tests(os.path.dirname(__file__), *args)