Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
add error
Browse files Browse the repository at this point in the history
  • Loading branch information
zrr1999 committed Jul 5, 2023
1 parent 232954a commit c5e2c48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_01_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


def foo(x: int, y: paddle.Tensor):
return x + y
return x + y / 0


class TestExecutor(TestCaseBase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_02_store_inplace.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5e2c48

Please sign in to comment.