diff --git a/testing/code/test_excinfo.py b/testing/code/test_excinfo.py index 997b14e2f..98876d6bf 100644 --- a/testing/code/test_excinfo.py +++ b/testing/code/test_excinfo.py @@ -21,8 +21,6 @@ except ImportError: else: invalidate_import_caches = getattr(importlib, "invalidate_caches", None) -pytest_version_info = tuple(map(int, pytest.__version__.split(".")[:3])) - @pytest.fixture def limited_recursion_depth():