File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed
pytorch_lightning/callbacks Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1919
2020from pytorch_lightning import Callback , Trainer
2121from pytorch_lightning .loggers import WandbLogger
22- from tests .deprecated_api import _soft_unimport_module
2322from tests .helpers import BoringModel
2423from tests .helpers .utils import no_warning_call
2524
2625
27- def test_v1_4_0_deprecated_imports ():
28- _soft_unimport_module ('pytorch_lightning.callbacks.swa' )
29- with pytest .deprecated_call (match = 'will be removed in v1.4' ):
30- from pytorch_lightning .callbacks .swa import StochasticWeightAveraging # noqa: F811 F401
31-
32-
3326@mock .patch ('pytorch_lightning.loggers.wandb.wandb' )
3427def test_v1_5_0_wandb_unused_sync_step (tmpdir ):
3528 with pytest .deprecated_call (match = r"v1.2.1 and will be removed in v1.5" ):
You can’t perform that action at this time.
0 commit comments