code: def test_typeref():
      # assert __eq__
      assert LazyType("numpy", "ndarray") == np.ndarray
      assert LazyType("numpy", "ndarray") == LazyType(
          type(np.array([2, 3]))
      )
  
      # evaluate
      assert LazyType("numpy", "ndarray").get_class() == np.ndarray
  
file_path: BentoML/tests/unit/_internal/test_utils.py
imports: from datetime import date
  from datetime import datetime
  from datetime import timedelta
  import numpy
  import pandas
  import pytest
  from scipy.sparse import csr_matrix
  import bentoml._internal.utils
  from bentoml._internal.types import LazyType
  from bentoml._internal.types import MetadataDict
label_desc: Use image node_id 1 for calling a global function with example usage: test_typeref() without return types