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 Aug 27, 2021
1 parent 3e94a44 commit 8dc7a89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/deprecated_api/test_remove_1-7.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def test_v1_7_0_trainer_prepare_data_per_node(tmpdir):
):
_ = Trainer(prepare_data_per_node=False)


def test_v1_7_0_deprecated_on_train_dataloader(tmpdir):

model = BoringModel()
Expand All @@ -110,8 +111,8 @@ def test_v1_7_0_deprecated_on_train_dataloader(tmpdir):
):
model.on_predict_dataloader()


@mock.patch("pytorch_lightning.loggers.test_tube.Experiment")
def test_v1_7_0_test_tube_logger(_, tmpdir):
with pytest.deprecated_call(match="The TestTubeLogger is deprecated since v1.5 and will be removed in v1.7"):
_ = TestTubeLogger(tmpdir)

0 comments on commit 8dc7a89

Please sign in to comment.