(self)
| 132 | pytest.raises("wrong", lambda: None) # type: ignore[call-overload] |
| 133 | |
| 134 | def test_invalid_arguments_to_raises(self) -> None: |
| 135 | with pytest.raises(TypeError, match="unknown"): |
| 136 | with pytest.raises(TypeError, unknown="bogus"): # type: ignore[call-overload] |
| 137 | raise ValueError() |
| 138 | |
| 139 | def test_tuple(self): |
| 140 | with pytest.raises((KeyError, ValueError)): |
nothing calls this directly
no outgoing calls
no test coverage detected