code: def test_result_type():
      x = tensor([2, 3], dtype="i4")
      y = 3
      z = np.array([3, 4], dtype="f4")
  
      r = result_type(x, y, z)
      e = np.result_type(x.dtype, y, z)
      assert r == e
  
imports: import numpy
  import pytest
  from ....core import tile
  from ....core.operand import OperandStage
  from ...datasource import ones, tensor, arange
  from ..None import transpose, broadcast_to, where, argwhere, array_split, split, squeeze, result_type, repeat, copyto, isin, moveaxis, TensorCopyTo, atleast_1d, atleast_2d, atleast_3d, ravel, searchsorted, unique, sort, partition, topk, to_gpu, to_cpu
label_desc: Use image node_id 13 for calling a global function with example usage: test_result_type() without return types