code: def test_selected_dtype(precision, expected_dtype, xla_available):
      plugin = XLAPrecision(precision=precision)
      assert plugin.precision == precision
      assert plugin._desired_dtype == expected_dtype
  
file_path: pytorch-lightning/tests/tests_fabric/plugins/precision/test_xla.py
imports: import os
  import re
  from unittest import mock
  import pytest
  import torch
  from lightning.fabric.plugins import XLAPrecision
label_desc: Use image node_id 2 for calling a global function with example usage: test_selected_dtype(precision, expected_dtype, xla_available) without return types