code: def test_no_parameters_error(distribution):
      dist = distribution()
      pits = np.arange(1, 100.0) / 100.0
      with pytest.raises(ValueError):
          dist.ppf(pits, None)
      with pytest.raises(ValueError):
          dist.cdf(pits, None)
  
file_path: arch/arch/tests/univariate/test_distribution.py
imports: import numpy
  from numpy.random import RandomState, default_rng
  from numpy.testing import assert_almost_equal, assert_array_equal, assert_equal
  import pytest
  from scipy.special import gamma, gammaln
  import scipy.stats
  from arch.univariate.distribution import GeneralizedError, Normal, SkewStudent, StudentsT
label_desc: Use image node_id 6 for calling a global function with example usage: test_no_parameters_error(distribution) without return types