code: def __init__(self, expected_ddp_comm_hook_name, *args, **kwargs):
      self.expected_ddp_comm_hook_name = expected_ddp_comm_hook_name
      super().__init__(*args, **kwargs)
  
file_path: pytorch-lightning/tests/tests_pytorch/strategies/test_ddp_integration_comm_hook.py
imports: from unittest import mock
  import pytest
  import torch
  from lightning.pytorch import Trainer
  from lightning.pytorch.demos.boring_classes import BoringModel
  from lightning.pytorch.strategies import DDPStrategy
  from tests_pytorch.helpers.runif import RunIf
label_desc: Use image node_id 1 to create a new TestDDPStrategy object from inherited base classes: DDPStrategy with example: obj = TestDDPStrategy(expected_ddp_comm_hook_name)