from sympy.testing.pytest import raises. Run code block in SymPy Live. >>> raises(ZeroDivisionError, lambda: 1/0).
確定! 回上一頁