Skip to content

Commit bb4899d

Browse files
authored
Apply suggestions from code review
1 parent a7d3412 commit bb4899d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests_pytorch/loops/test_trainer_iterable_dataset_double_iter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_training():
4949
trainer = train_model(queue, 1, ckpt_path)
5050
assert trainer is not None
5151

52-
assert os.path.exists(ckpt_path), "Checkpoint file wasn't created"
52+
assert os.path.exists(ckpt_path), f"Checkpoint file '{ckpt_path}' wasn't created"
5353

5454
ckpt_size = os.path.getsize(ckpt_path)
5555
assert ckpt_size > 0, f"Checkpoint file is empty (size: {ckpt_size} bytes)"

0 commit comments

Comments
 (0)