diff --git a/tests/benchmarks/data/python_10000_lines.py b/tests/benchmarks/data/python_10000_lines.py index fbe3112e1..e0ae3e3b3 100644 --- a/tests/benchmarks/data/python_10000_lines.py +++ b/tests/benchmarks/data/python_10000_lines.py @@ -38,7 +38,7 @@ def _reset_app_config_between_tests() -> Generator: try: AppConfig()._configuration = None # type: ignore[attr-defined] AppConfig()._quota_limiters = [] # type: ignore[attr-defined] - except Exception: + except TypeError: pass