def test_error_already_set(msg): with pytest.raises(RuntimeError) as ... "pybind11 value error" with pytest.raises(TypeError) as excinfo: ...
確定! 回上一頁