We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e090517 commit e73c411Copy full SHA for e73c411
testing/python/raises_group.py
@@ -1145,6 +1145,8 @@ def test_xfail_raisesgroup(pytester: Pytester) -> None:
1145
pytester.makepyfile(
1146
"""
1147
import pytest
1148
+ if sys.version_info < (3, 11):
1149
+ from exceptiongroup import ExceptionGroup
1150
@pytest.mark.xfail(raises=pytest.RaisesGroup(ValueError))
1151
def test_foo() -> None:
1152
raise ExceptionGroup("foo", [ValueError()])
tox.ini
@@ -107,8 +107,8 @@ allowlist_externals =
107
git
108
commands =
109
# Retrieve possibly missing commits:
110
- -git fetch --unshallow
111
- -git fetch --tags
+ #-git fetch --unshallow
+ #-git fetch --tags
112
113
sphinx-build \
114
-j auto \
0 commit comments