summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_concurrent_futures/__init__.py
blob: 430fa93aa456a2dfeed8ec1e38cd08c9a7dd61ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import os.path
import unittest
from test import support
from test.support import import_helper

# Skip tests if _multiprocessing wasn't built.
import_helper.import_module('_multiprocessing')

if support.check_sanitizer(address=True, memory=True):
    # gh-90791: Skip the test because it is too slow when Python is built
    # with ASAN/MSAN: between 5 and 20 minutes on GitHub Actions.
    raise unittest.SkipTest("test too slow on ASAN/MSAN build")


def load_tests(*args):
    return support.load_package_tests(os.path.dirname(__file__), *args)