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 2d37732 commit 7c9cba0Copy full SHA for 7c9cba0
src/_pytest/reports.py
@@ -420,11 +420,9 @@ def from_item_and_call(cls, item: Item, call: CallInfo[None]) -> TestReport:
420
longrepr = (os.fspath(path), line + 1, r.message)
421
else:
422
longrepr = (str(r.path), r.lineno, r.message)
423
- elif isinstance(excinfo.value, BaseExceptionGroup):
424
- if excinfo.value.exceptions and any(
425
- isinstance(exception, skip.Exception)
426
- for exception in excinfo.value.exceptions
427
- ):
+ elif isinstance(excinfo.value, BaseExceptionGroup) and (
+ excinfo.value.split(skip.Exception)[1] is None
+ ):
428
outcome = "skipped"
429
skipped_exceptions = cast(
430
Sequence[BaseException], excinfo.value.exceptions
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments