Lines Matching refs:excinfo
60 with pytest.raises(TypeError) as excinfo:
62 assert "Got multiple values for keyword argument" in str(excinfo.value)
64 with pytest.raises(TypeError) as excinfo:
66 assert "Got multiple values for keyword argument" in str(excinfo.value)
68 with pytest.raises(RuntimeError) as excinfo:
70 assert "Unable to convert call argument" in str(excinfo.value)
72 with pytest.raises(RuntimeError) as excinfo:
74 assert "Unable to convert call argument" in str(excinfo.value)
101 with pytest.raises(TypeError) as excinfo:
103 assert "incompatible function arguments" in str(excinfo.value)
105 with pytest.raises(TypeError) as excinfo:
108 s in str(excinfo.value)