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