From c5e2c48198d9eed8b8ab3393927b8a3f3bbdaddc Mon Sep 17 00:00:00 2001 From: Zhan Rongrui <2742392377@qq.com> Date: Wed, 5 Jul 2023 15:58:55 +0000 Subject: [PATCH] add error --- tests/test_01_basic.py | 2 +- tests/test_02_store_inplace.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_01_basic.py b/tests/test_01_basic.py index e1e5dca35..55b7b745f 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 aaae113a4..b2f74e852 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