Lines Matching refs:excinfo
62 with pytest.raises(ValueError) as excinfo:
64 assert str(excinfo.value) == toobig_message(0x100)
65 with pytest.raises(ValueError) as excinfo:
67 assert str(excinfo.value) == toolong_message
76 with pytest.raises(ValueError) as excinfo:
78 assert str(excinfo.value) == toobig_message(0x10000)
79 with pytest.raises(ValueError) as excinfo:
81 assert str(excinfo.value) == toolong_message
89 with pytest.raises(ValueError) as excinfo:
91 assert str(excinfo.value) == toolong_message
99 with pytest.raises(ValueError) as excinfo:
101 assert str(excinfo.value) == toobig_message(0x10000)
104 with pytest.raises(ValueError) as excinfo:
106 assert str(excinfo.value) == toolong_message
114 with pytest.raises(ValueError) as excinfo:
116 assert str(excinfo.value) == toobig_message(0x100)
117 with pytest.raises(ValueError) as excinfo:
119 assert str(excinfo.value) == toolong_message
232 with pytest.raises(TypeError) as excinfo:
234 assert "incompatible function arguments" in str(excinfo.value)
235 with pytest.raises(TypeError) as excinfo:
237 assert "incompatible function arguments" in str(excinfo.value)
238 with pytest.raises(TypeError) as excinfo:
240 assert "incompatible function arguments" in str(excinfo.value)
241 with pytest.raises(TypeError) as excinfo:
243 assert "incompatible function arguments" in str(excinfo.value)
246 with pytest.raises(TypeError) as excinfo:
248 assert "incompatible function arguments" in str(excinfo.value)
249 with pytest.raises(TypeError) as excinfo:
251 assert "incompatible function arguments" in str(excinfo.value)
402 with pytest.raises(TypeError) as excinfo:
404 assert "incompatible function arguments" in str(excinfo.value)
406 with pytest.raises(TypeError) as excinfo:
408 assert "incompatible function arguments" in str(excinfo.value)