Skip to content

Commit d2f74e9

Browse files
committed
remove deviders in test_model_checkpoint
1 parent 9e9e580 commit d2f74e9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/tests_pytorch/checkpointing/test_model_checkpoint.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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-
776773
def 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-
#################################################################################################
913909
def 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

0 commit comments

Comments
 (0)