code: def test_moment_conversion_types(func_name):
      # written in 2009
      # TODO: why did I use list as return type?
      func = getattr(moment_helpers, func_name)
  
      assert isinstance(func([1.0, 1, 0, 3]), list) or isinstance(
          func(np.array([1.0, 1, 0, 3])), (tuple, np.ndarray)
      )
  
      assert isinstance(
          func(np.array([1.0, 1, 0, 3])), list
      ) or isinstance(
          func(np.array([1.0, 1, 0, 3])), (tuple, np.ndarray)
      )
  
      assert isinstance(
          func(tuple([1.0, 1, 0, 3])), list
      ) or isinstance(
          func(np.array([1.0, 1, 0, 3])), (tuple, np.ndarray)
      )
  
file_path: statsmodels/statsmodels/stats/tests/test_moment_helpers.py
imports: import numpy
  import pytest
  from numpy.testing import assert_almost_equal, assert_, assert_equal
  from statsmodels.stats import moment_helpers
  from statsmodels.stats.moment_helpers import cov2corr, mvsk2mc, mc2mvsk, mnc2mc, mc2mnc, cum2mc, mc2cum, mnc2cum
label_desc: Use image node_id 4 for calling a global function with example usage: test_moment_conversion_types(func_name) without return types