Lines Matching refs:excinfo
79 with pytest.raises(TypeError) as excinfo:
81 assert "incompatible function arguments" in str(excinfo.value)
92 with pytest.raises(TypeError) as excinfo:
96 " flags.writeable, flags.c_contiguous]) -> None" in str(excinfo.value)
98 with pytest.raises(TypeError) as excinfo:
102 " flags.writeable, flags.f_contiguous]) -> None" in str(excinfo.value)
104 with pytest.raises(TypeError) as excinfo:
107 excinfo.value
125 with pytest.raises(RuntimeError) as excinfo:
128 assert "Unable to cast Python instance" in str(excinfo.value)
129 with pytest.raises(RuntimeError) as excinfo:
132 assert "Unable to cast Python instance" in str(excinfo.value)
195 with pytest.raises(TypeError) as excinfo:
198 msg(excinfo.value)
207 with pytest.raises(TypeError) as excinfo:
210 msg(excinfo.value)
597 with pytest.raises(TypeError) as excinfo:
600 excinfo.value
601 ) and ", flags.f_contiguous" in str(excinfo.value)
603 with pytest.raises(TypeError) as excinfo:
606 excinfo.value
607 ) and ", flags.f_contiguous" in str(excinfo.value)
608 with pytest.raises(TypeError) as excinfo:
611 excinfo.value
612 ) and ", flags.f_contiguous" in str(excinfo.value)
615 with pytest.raises(TypeError) as excinfo:
618 excinfo.value
619 ) and ", flags.c_contiguous" in str(excinfo.value)
620 with pytest.raises(TypeError) as excinfo:
623 excinfo.value
624 ) and ", flags.c_contiguous" in str(excinfo.value)
626 with pytest.raises(TypeError) as excinfo:
629 excinfo.value
630 ) and ", flags.c_contiguous" in str(excinfo.value)
697 with pytest.raises(ValueError) as excinfo:
699 assert str(excinfo.value) == "Nonconformable matrices!"
701 with pytest.raises(ValueError) as excinfo:
703 assert str(excinfo.value) == "Nonconformable matrices!"
705 with pytest.raises(ValueError) as excinfo:
707 assert str(excinfo.value) == "Nonconformable matrices!"
756 with pytest.raises(TypeError) as excinfo:
758 assert "incompatible function arguments" in str(excinfo.value)
759 with pytest.raises(TypeError) as excinfo:
761 assert "incompatible function arguments" in str(excinfo.value)