From 174f76734bb7dc34cd68f851986661d635265b7a Mon Sep 17 00:00:00 2001 From: Kaushik Bokka Date: Sun, 28 Feb 2021 20:28:04 +0530 Subject: [PATCH] fix pep8 issues --- tests/deprecated_api/test_remove_1-5.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/deprecated_api/test_remove_1-5.py b/tests/deprecated_api/test_remove_1-5.py index 6fdfa29a0a587..cc2eb037197f9 100644 --- a/tests/deprecated_api/test_remove_1-5.py +++ b/tests/deprecated_api/test_remove_1-5.py @@ -205,6 +205,12 @@ def on_test_epoch_end(self, outputs): trainer.test(model) +@mock.patch('pytorch_lightning.loggers.wandb.wandb') +def test_v1_5_0_wandb_unused_sync_step(tmpdir): + with pytest.deprecated_call(match=r"v1.2.1 and will be removed in v1.5"): + WandbLogger(sync_step=True) + + def test_v1_5_0_old_callback_on_save_checkpoint(tmpdir): class OldSignature(Callback):