diff --git a/testing/code/test_excinfo.py b/testing/code/test_excinfo.py index c79030cd5..78f777718 100644 --- a/testing/code/test_excinfo.py +++ b/testing/code/test_excinfo.py @@ -1472,7 +1472,6 @@ def test_no_recursion_index_on_recursion_error(): assert "maximum recursion" in str(excinfo.getrepr()) -@pytest.mark.skipif(sys.version_info < (3, 11), reason="requires python3.11 or higher") def test_exceptiongroup(pytester: Pytester) -> None: pytester.makepyfile( """ diff --git a/tox.ini b/tox.ini index 93c390ffc..fd2ff1ba1 100644 --- a/tox.ini +++ b/tox.ini @@ -46,6 +46,7 @@ setenv = extras = testing deps = doctesting: PyYAML + exceptiongroup: exceptiongroup>=1.0.0 numpy: numpy>=1.19.4 pexpect: pexpect>=4.8.0 pluggymain: pluggy @ git+https://github.com/pytest-dev/pluggy.git