Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zrr1999 committed Jan 16, 2024
1 parent 72c58f8 commit 7616fcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/legacy_test/test_arange.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def init_config(self):


class TestArangeOpError(unittest.TestCase):
@test_with_pir_api
def test_static_errors(self):
with program_guard(Program(), Program()):
paddle.enable_static()
Expand Down
1 change: 1 addition & 0 deletions test/legacy_test/test_compare_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ def test_check_output(self):


class TestCompareOpError(unittest.TestCase):
@test_with_pir_api
def test_int16_support(self):
paddle.enable_static()
with paddle.static.program_guard(
Expand Down

0 comments on commit 7616fcb

Please sign in to comment.