We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1baeec commit 0273d4eCopy full SHA for 0273d4e
tests/main/driver/test_restart_serial.py
@@ -121,7 +121,7 @@ def test_restart_save_to_disk():
121
for var in driver_state.physics_state.__dict__.keys():
122
if isinstance(
123
driver_state.physics_state.__dict__[var],
124
- np.ndarray,
+ Quantity,
125
):
126
np.testing.assert_allclose(
127
driver_state.physics_state.__dict__[var].data,
@@ -130,7 +130,7 @@ def test_restart_save_to_disk():
130
else:
131
if var in restart_physics.keys():
132
raise KeyError(
133
- f"{var} is not a storage and \
+ f"{var} is not a Quantity and \
134
should not be in physics restart file"
135
)
136
# test we can use the saved driver config in the restart to load it
0 commit comments