kikocis/auto-code-rover public
| 1 | diff --git a/src/_pytest/skipping.py b/src/_pytest/skipping.py |
| 2 | --- a/src/_pytest/skipping.py |
| 3 | +++ b/src/_pytest/skipping.py |
| 4 | @@ -291,7 +291,8 @@ def pytest_runtest_makereport(item: Item, call: CallInfo[None]): |
| 5 | else: |
| 6 | rep.outcome = "passed" |
| 7 | rep.wasxfail = xfailed.reason |
| 8 | - elif ( |
| 9 | + |
| 10 | + if ( |
| 11 | item._store.get(skipped_by_mark_key, True) |
| 12 | and rep.skipped |
| 13 | and type(rep.longrepr) is tuple |