code: def test_torch_promote_types(
      *,
      type1,
      type2,
      on_device,
      fn_tree,
      frontend,
      test_flags,
      backend_fw,
  ):
      ret, frontend_ret = helpers.test_frontend_function(
          input_dtypes=[],
          backend_to_test=backend_fw,
          frontend=frontend,
          test_flags=test_flags,
          fn_tree=fn_tree,
          on_device=on_device,
          test_values=False,
          type1=type1[0],
          type2=type2[0],
      )
      assert ret == repr(frontend_ret[0]).split(".")[1]
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_torch/test_dtype.py
imports: from hypothesis import settings, strategies
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers.testing_helpers import handle_frontend_test
  import ivy.functional.frontends.torch
label_desc: Use image node_id 2 for calling a global function with example usage: test_torch_promote_types() without return types