Lines Matching refs:excinfo
16 with pytest.raises(TypeError) as excinfo:
18 assert "incompatible function arguments" in str(excinfo.value)
20 with pytest.raises(TypeError) as excinfo:
22 assert "incompatible function arguments" in str(excinfo.value)
56 with pytest.raises(RuntimeError) as excinfo:
59 str(excinfo.value) == 'generic_type: type "NonLocalType" is already registered!'
65 with pytest.raises(RuntimeError) as excinfo:
69 assert str(excinfo.value) == (
113 with pytest.raises(RuntimeError) as excinfo:
116 str(excinfo.value) == 'generic_type: type "NonLocalMap" is already registered!'
119 with pytest.raises(RuntimeError) as excinfo:
122 str(excinfo.value) == 'generic_type: type "NonLocalVec" is already registered!'
125 with pytest.raises(RuntimeError) as excinfo:
128 str(excinfo.value) == 'generic_type: type "NonLocalMap2" is already registered!'
195 with pytest.raises(TypeError) as excinfo:
198 msg(excinfo.value)
253 with pytest.raises(TypeError) as excinfo:
255 assert "incompatible function arguments" in str(excinfo.value)
256 with pytest.raises(TypeError) as excinfo:
258 assert "incompatible function arguments" in str(excinfo.value)