Skip to content

Commit 9715fb8

Browse files
committed
update
1 parent 8666d8d commit 9715fb8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/tests_pytorch/callbacks/progress/test_tqdm_progress_bar.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ def test_tqdm_progress_bar_print_no_train(tqdm_write, tmp_path):
519519
limit_predict_batches=1,
520520
max_steps=1,
521521
callbacks=[bar],
522+
devices=1,
522523
)
523524

524525
trainer.validate(model)

tests/tests_pytorch/loggers/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ def __getitem__(self, item):
125125
def __setitem__(self, key, value):
126126
pass
127127

128+
def wait(self):
129+
pass
130+
128131
run_mock = MagicMock(spec=RunType, exists=Mock(return_value=False), wait=Mock(), get_structure=MagicMock())
129132
run_mock.get_root_object.return_value = run_mock
130133

0 commit comments

Comments
 (0)