code: def test_double_precision_wrapper():
      with pytest.deprecated_call(
          match=r"The `LightningDoublePrecisionModule` is deprecated and no longer needed"
      ):
          LightningDoublePrecisionModule(BoringModel())
  
imports: import sys
  from unittest.mock import Mock
  import lightning.fabric
  import pytest
  import torch.nn
  from lightning.pytorch import Trainer
  from lightning.pytorch.demos.boring_classes import BoringModel
  from lightning.pytorch.plugins.precision.double import LightningDoublePrecisionModule
  from lightning.pytorch.strategies import DDPStrategy, FSDPStrategy
  from tests_pytorch.helpers.runif import RunIf
label_desc: Use image node_id 4 for calling a global function with example usage: test_double_precision_wrapper() without return types