Skip to content

Commit c26ae88

Browse files
committed
Docstring
1 parent 328f9e5 commit c26ae88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/models/test_tpu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def test_exception_when_no_tpu_found(tmpdir):
271271
@pytest.mark.parametrize("tpu_cores", [1, 8, [1]])
272272
@RunIf(tpu=True)
273273
def test_accelerator_set_when_using_tpu(tmpdir, tpu_cores):
274-
"""Test if distributed_backend is set to `tpu` when tpu_cores is not None."""
274+
"""Test if the accelerator is set to `tpu` when tpu_cores is not None."""
275275
assert isinstance(Trainer(tpu_cores=tpu_cores).accelerator, TPUAccelerator)
276276

277277

0 commit comments

Comments
 (0)