Skip to content

Commit 0273d4e

Browse files
committed
fixing restart test
1 parent c1baeec commit 0273d4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/main/driver/test_restart_serial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def test_restart_save_to_disk():
121121
for var in driver_state.physics_state.__dict__.keys():
122122
if isinstance(
123123
driver_state.physics_state.__dict__[var],
124-
np.ndarray,
124+
Quantity,
125125
):
126126
np.testing.assert_allclose(
127127
driver_state.physics_state.__dict__[var].data,
@@ -130,7 +130,7 @@ def test_restart_save_to_disk():
130130
else:
131131
if var in restart_physics.keys():
132132
raise KeyError(
133-
f"{var} is not a storage and \
133+
f"{var} is not a Quantity and \
134134
should not be in physics restart file"
135135
)
136136
# test we can use the saved driver config in the restart to load it

0 commit comments

Comments
 (0)