test in all py versions
This commit is contained in:
parent
2a64ad4fd5
commit
97865ce79f
|
@ -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(
|
||||||
"""
|
"""
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue