(reason: str, strict: bool | None = None)
| 72 | """ |
| 73 | |
| 74 | def _(reason: str, strict: bool | None = None) -> None: |
| 75 | if strict is not None: |
| 76 | marker = pytest.mark.xfail(reason=reason, strict=strict) |
| 77 | else: |
| 78 | marker = pytest.mark.xfail(reason=reason) |
| 79 | request.node.add_marker(marker) |
| 80 | |
| 81 | return _ |
nothing calls this directly
no outgoing calls
no test coverage detected