code: def test_hotelling1():
      # Asymptotically, Hotelling is the same as F which is the same as chi^2.
      x = np.linspace(0.1, 10, 100)
      for dim in range(7):
          for dfn in range(5, 10):
              h = rft.Hotelling(k=dfn).density(x * dfn, dim)
              f = rft.FStat(dfn=dfn).density(x, dim)
              assert_almost_equal(h, f)
  
imports: import numpy
  import scipy.stats
  from scipy.special import gammaln, hermitenorm
  import pytest
  from numpy.testing import assert_almost_equal
  from ..None import rft
label_desc: Use image node_id 20 for calling a global function with example usage: test_hotelling1() without return types