summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_peg_generator/__init__.py
blob: 77f72fcc7c6e3bb4e0669307e63d000e397572e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os.path
import unittest
from test import support
from test.support import load_package_tests


if support.check_sanitizer(address=True, memory=True):
    # bpo-46633: 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")


# Load all tests in package
def load_tests(*args):
    return load_package_tests(os.path.dirname(__file__), *args)