From 61f985f3c7ddeb6241feb65b81ade4be2d918460 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 19 Jan 2020 08:10:29 +0100 Subject: [PATCH] tests: test_excinfo: remove unused pytest_version_info This might fail unnecessarily with a (wrong) determined version of e.g. "4.7.dev307+ge98176cf5" (no patch version). Ref: https://github.com/pytest-dev/pytest/pull/6506 --- testing/code/test_excinfo.py | 2 -- 1 file changed, 2 deletions(-) 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():