Debian Codegraph @

tests/utils/__init__.py

raw
1 """Test utilities"""
2
3 from platform import python_implementation
4
5 from .dedent import dedent
6 from .gen_fuzz_strings import gen_fuzz_strings
7
8 # some tests can take much longer on PyPy
9 timeout_factor = 4 if python_implementation() == "PyPy" else 1
10
11
12 __all__ = ["dedent", "gen_fuzz_strings", "timeout_factor"]