code: def test_beta_small_parameters(self):
      # Test that beta with small a and b parameters does not produce
      # NaNs due to roundoff errors causing 0 / 0, gh-5851
      x = self.mt19937.beta(0.0001, 0.0001, size=100)
      assert_(not np.any(np.isnan(x)), "Nans in mt19937.beta")
  
imports: from numpy.testing import assert_, assert_array_equal
  import numpy
  import pytest
  from numpy.random import Generator, MT19937
label_desc: Use image node_id 8 for calling the TestRegression obj's underlying member method code with example usage: obj.test_beta_small_parameters() without return types