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 Jul 20, 2021
1 parent f973644 commit 56347e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/deprecated_api/test_remove_1-6.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,5 +326,7 @@ def test_v1_6_0_deprecated_hpc_load(tmpdir):

def test_v1_6_0_deprecated_model_size():
model = BoringModel()
with pytest.deprecated_call(match="The `LightningModule.model_size` property was deprecated in v1.4 and will be removed in v1.6."):
with pytest.deprecated_call(
match="The `LightningModule.model_size` property was deprecated in v1.4 and will be removed in v1.6."
):
_ = model.model_size

0 comments on commit 56347e2

Please sign in to comment.