Skip to content

Commit f69de92

Browse files
committed
Revert
1 parent 42f11b8 commit f69de92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests_pytorch/utilities/migration/test_migration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,6 @@ def test_migrate_model_checkpoint_save_on_train_epoch_end_default_collision():
146146
"epoch": 1,
147147
}
148148
_set_version(old_checkpoint, "1.8.9") # pretend a checkpoint prior to 1.9.0
149-
with pytest.warns(PossibleUserWarning, match="callback states in this ckkjheckpoint.* colliding with each other"):
149+
with pytest.warns(PossibleUserWarning, match="callback states in this checkpoint.* colliding with each other"):
150150
updated_checkpoint, _ = migrate_checkpoint(old_checkpoint.copy())
151151
assert updated_checkpoint["callbacks"] == old_checkpoint["callbacks"] # no migration was performed

0 commit comments

Comments
 (0)