code: def test_holdertuple():
      ht = HolderTuple(
          statistic=5,
          pvalue=0.1,
          text="just something",
          extra=[1, 2, 4],
      )
      assert_equal(len(ht), 2)
      assert_equal(ht[:], [5, 0.1])
      p, v = ht
      assert_equal([p, v], [5, 0.1])
      p, v = ht[0], ht[1]
      assert_equal([p, v], [5, 0.1])
      assert_equal(list(ht), [5, 0.1])
      assert_equal(np.asarray(ht), [5, 0.1])
      assert_equal(np.asarray(ht).dtype, np.float64)
      x = np.zeros((2, 2))
      x[0] = ht
      assert_equal(x, [[5, 0.1], [0, 0]])
  
      assert_equal(pd.Series(ht).values, [5, 0.1])
      assert_equal(pd.DataFrame([ht, ht]).values, [[5, 0.1], [5, 0.1]])
  
      assert_equal(ht.statistic, 5)
      assert_equal(ht.pvalue, 0.1)
      assert_equal(ht.extra, [1, 2, 4])
      assert_equal(ht.text, "just something")
  
imports: import numpy
  from numpy.testing import assert_equal
  import pandas
  from statsmodels.stats.base import HolderTuple
label_desc: Use image node_id 1 for calling a global function with example usage: test_holdertuple() without return types