Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 24, 2022
1 parent 832d1c6 commit 3946f82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/accelerators/test_tpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ def test_warning_if_tpus_not_used():
with pytest.warns(UserWarning, match="TPU available but not used. Set `accelerator` and `devices`"):
Trainer()


@RunIf(tpu=True)
def test_tpu_spawn_teardown(tmpdir):
model = BoringModel()
Expand Down

0 comments on commit 3946f82

Please sign in to comment.