Skip to content

Commit 1bf0121

Browse files
committed
minor comments change
1 parent 0ec9b5b commit 1bf0121

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/accelerators/test_accelerator_connector.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,6 @@ def test_accelerator_gpu_with_gpus_priority():
550550

551551
def test_validate_accelerator_and_devices():
552552

553-
# with pytest.raises(MisconfigurationException, match="You passed `devices=2` but haven't specified"):
554553
trainer = Trainer(accelerator="ddp_cpu", devices=2)
555554
assert isinstance(trainer.accelerator, CPUAccelerator)
556555
assert trainer.num_processes == 2

0 commit comments

Comments
 (0)