Skip to content

Commit fea1d01

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 542908d commit fea1d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/deprecated_api/test_remove_1-8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ def on_pretrain_routine_end(self, trainer, pl_module):
617617
def test_v1_8_0_trainer_num_nodes(num_nodes, strategy):
618618
trainer = Trainer(num_nodes=num_nodes, strategy=strategy)
619619
with pytest.deprecated_call(
620-
match= r"`Trainer.data_parallel_device_ids` was deprecated in v1.6 and will be removed in v1.8."
620+
match=r"`Trainer.data_parallel_device_ids` was deprecated in v1.6 and will be removed in v1.8."
621621
r' Please use `getattr\(Trainer.strategy, "num_nodes", 1\)` instead.'
622622
):
623623
assert trainer.num_nodes == num_nodes

0 commit comments

Comments
 (0)