Skip to content

Commit feb35bf

Browse files
committed
add explict test_legacy_and_pt
1 parent d19de99 commit feb35bf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/dygraph_to_static/test_place.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,17 @@
1515
import unittest
1616
import warnings
1717

18-
from dygraph_to_static_utils import Dy2StTestBase, test_pir_only
18+
from dygraph_to_static_utils import (
19+
Dy2StTestBase,
20+
test_legacy_and_pt,
21+
test_pir_only,
22+
)
1923

2024
import paddle
2125

2226

2327
class TestPlace(Dy2StTestBase):
28+
@test_legacy_and_pt
2429
def test_place_legacy(self):
2530
# TODO(cleanup-legacy-ir): remove this test case
2631
paddle.enable_static()

0 commit comments

Comments
 (0)