def METHOD_NAME(self):
    # Test that beta with small a and b parameters does not produce
    # NaNs due to roundoff errors causing 0 / 0, gh-5851
    np.random.seed(1234567890)
    x = np.random.beta(0.0001, 0.0001, size=100)
    assert_(not np.any(np.isnan(x)), 'Nans in np.random.beta')