(self)
| 12 | pytest.raises(RuntimeError, "int('qwe')") # type: ignore[call-overload] |
| 13 | |
| 14 | def test_raises(self): |
| 15 | excinfo = pytest.raises(ValueError, int, "qwe") |
| 16 | assert "invalid literal" in str(excinfo.value) |
| 17 | |
| 18 | def test_raises_function(self): |
| 19 | excinfo = pytest.raises(ValueError, int, "hello") |
nothing calls this directly
no outgoing calls
no test coverage detected