Skip to content

Commit f4428e5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 43eae27 commit f4428e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/tests_pytorch/checkpointing/test_model_checkpoint.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,8 @@ def test_ckpt_every_n_train_steps(tmp_path):
771771

772772

773773
def test_model_checkpoint_on_exception_run_condition(tmp_path):
774-
"""Test that no checkpoint is saved when an exception is raised during a sanity check or a fast dev run, or when a checkpoint has already been saved at the current training step."""
774+
"""Test that no checkpoint is saved when an exception is raised during a sanity check or a fast dev run, or when a
775+
checkpoint has already been saved at the current training step."""
775776

776777
# Don't save checkpoint if sanity check fails
777778
class TroubledModelSanityCheck(BoringModel):

0 commit comments

Comments
 (0)