code: def test_fsdp_precision_config(precision, expected):
      plugin = FSDPPrecision(precision=precision)
      config = plugin.mixed_precision_config
  
      assert config.param_dtype == expected[0]
      assert config.buffer_dtype == expected[1]
      assert config.reduce_dtype == expected[2]
  
file_path: pytorch-lightning/tests/tests_fabric/plugins/precision/test_fsdp.py
imports: from unittest.mock import Mock
  import pytest
  import torch
  from lightning.fabric.plugins import FSDPPrecision
  from lightning.fabric.plugins.precision.utils import _DtypeContextManager
  from tests_fabric.helpers.runif import RunIf
label_desc: Use image node_id 1 for calling a global function with example usage: test_fsdp_precision_config(precision, expected) without return types