code: def test_type_name(type_, repr):
      assert _type_name(type_) == repr
  
file_path: haystack/test/core/test_utils.py
imports: from typing import List, Set, Sequence, Tuple, Dict, Mapping, Literal, Union, Optional, Any
  from enum import Enum
  from pathlib import Path
  import pytest
  from haystack.core.type_utils import _type_name
label_desc: Use image node_id 1 for calling a global function with example usage: test_type_name(type_, repr) without return types