Skip to content
Prev Previous commit
Next Next commit
fix
  • Loading branch information
HydrogenSulfate committed Jul 10, 2025
commit 94380ecb44f899aa01097140898764e096b930dc
2 changes: 2 additions & 0 deletions test/legacy_test/test_place_guard.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ def test_str_place_obj_nested(self):

if len(places) >= 2:
place_obj1, place_obj2 = places[:2]
else:
self.skipTest("Not compiled with HPC hardware.")

with dygraph_guard():
with paddle.device.device_guard(place_obj1):
Expand Down