Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Tshimanga committed Aug 11, 2021
2 parents c74f5da + 2f3e095 commit 24e2d85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions pytorch_lightning/core/datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,7 @@ def dims(self):

@dims.setter
def dims(self, d):
rank_zero_deprecation(
"DataModule property `dims` was deprecated in v1.5 and will be removed in v1.7."
)
rank_zero_deprecation("DataModule property `dims` was deprecated in v1.5 and will be removed in v1.7.")
self._dims = d

def size(self, dim=None) -> Union[Tuple, int]:
Expand Down
2 changes: 1 addition & 1 deletion tests/deprecated_api/test_remove_1-7.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import pytest

from tests.deprecated_api import _soft_unimport_module
from tests.helpers import BoringModel, BoringDataModule
from tests.helpers import BoringDataModule, BoringModel
from tests.helpers.datamodules import MNISTDataModule


Expand Down

0 comments on commit 24e2d85

Please sign in to comment.