diff --git a/tests/test_01_basic.py b/tests/test_01_basic.py index e1e5dca3..55b7b745 100644 --- a/tests/test_01_basic.py +++ b/tests/test_01_basic.py @@ -6,7 +6,7 @@ def foo(x: int, y: paddle.Tensor): - return x + y + return x + y / 0 class TestExecutor(TestCaseBase): diff --git a/tests/test_02_store_inplace.py b/tests/test_02_store_inplace.py index aaae113a..b2f74e85 100644 --- a/tests/test_02_store_inplace.py +++ b/tests/test_02_store_inplace.py @@ -6,7 +6,7 @@ def foo(x: int, y: paddle.Tensor): - x = x + 1 + x = x + 1 / 0 y = y + 1 x += y return x