Skip to content

Commit 61f985f

Browse files
committed
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: #6506
1 parent e98176c commit 61f985f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

testing/code/test_excinfo.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
else:
2222
invalidate_import_caches = getattr(importlib, "invalidate_caches", None)
2323

24-
pytest_version_info = tuple(map(int, pytest.__version__.split(".")[:3]))
25-
2624

2725
@pytest.fixture
2826
def limited_recursion_depth():

0 commit comments

Comments
 (0)