code: def test_initialization_raises(means, covs):
      dof = 3
  
      assert_raises(TypeError, StudentT)
      assert_raises(ValueError, StudentT, 1.2)
      assert_raises(ValueError, StudentT, 0)
      assert_raises(ValueError, StudentT, -1)
  
      assert_raises(ValueError, StudentT, dof, means[0])
      assert_raises(ValueError, StudentT, dof, None, covs[0])
      assert_raises(ValueError, StudentT, dof, means[0], covs[0])
      assert_raises(ValueError, StudentT, dof, means[0], covs)
      assert_raises(ValueError, StudentT, dof, means, covs[0])
  
      assert_raises(ValueError, StudentT, dof, inertia=-0.4)
      assert_raises(ValueError, StudentT, dof, inertia=1.2)
      assert_raises(ValueError, StudentT, dof, frozen="true")
      assert_raises(ValueError, StudentT, dof, frozen=3)
  
      assert_raises(ValueError, StudentT, dof, inertia=-0.4)
      assert_raises(ValueError, StudentT, dof, inertia=1.2)
      assert_raises(
          ValueError, StudentT, dof, inertia=1.2, frozen="true"
      )
      assert_raises(ValueError, StudentT, dof, inertia=1.2, frozen=3)
  
imports: import os
  import numpy
  import torch
  import pytest
  from pomegranate.distributions import StudentT
  from ._utils import _test_initialization_raises_two_parameters
  from ._utils import _test_initialization
  from ._utils import _test_predictions
  from ._utils import _test_efd_from_summaries
  from ._utils import _test_raises
  from nose.tools import assert_raises
  from numpy.testing import assert_array_almost_equal
label_desc: Use image node_id 9 for calling a global function with example usage: test_initialization_raises(means, covs) without return types