test in all py versions

This commit is contained in:
Cheukting 2022-06-23 17:01:04 +08:00
parent 2a64ad4fd5
commit 97865ce79f
2 changed files with 1 additions and 1 deletions

View File

@ -1472,7 +1472,6 @@ def test_no_recursion_index_on_recursion_error():
assert "maximum recursion" in str(excinfo.getrepr()) 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: def test_exceptiongroup(pytester: Pytester) -> None:
pytester.makepyfile( pytester.makepyfile(
""" """

View File

@ -46,6 +46,7 @@ setenv =
extras = testing extras = testing
deps = deps =
doctesting: PyYAML doctesting: PyYAML
exceptiongroup: exceptiongroup>=1.0.0
numpy: numpy>=1.19.4 numpy: numpy>=1.19.4
pexpect: pexpect>=4.8.0 pexpect: pexpect>=4.8.0
pluggymain: pluggy @ git+https://github.com/pytest-dev/pluggy.git pluggymain: pluggy @ git+https://github.com/pytest-dev/pluggy.git