File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
tests/tests_pytorch/checkpointing Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -770,9 +770,6 @@ def test_ckpt_every_n_train_steps(tmp_path):
770770 assert set (os .listdir (tmp_path )) == set (expected )
771771
772772
773- #################################################################################################
774-
775-
776773def test_model_checkpoint_on_exception (tmp_path ):
777774 """Test that the checkpoint is saved when an exception is raised in a lightning module."""
778775
@@ -909,7 +906,6 @@ def on_fit_end(self):
909906 assert checkpoint ["state_dict" ] != {}
910907
911908
912- #################################################################################################
913909def test_model_checkpoint_on_exception_in_other_callbacks (tmp_path ):
914910 """Test that an checkpoint is saved when an exception is raised in an other callback."""
915911
You can’t perform that action at this time.
0 commit comments