code: def test_type_selection():
      from pybind11_tests import selective_func
  
      assert (
          selective_func(np.array([1], dtype=np.int32))
          == "Int branch taken."
      )
      assert (
          selective_func(np.array([1.0], dtype=np.float32))
          == "Float branch taken."
      )
      assert (
          selective_func(np.array([1.0j], dtype=np.complex64))
          == "Complex float branch taken."
      )
  
imports: import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_type_selection() without return types