8000 Merge pull request #28324 from charris/update-test_dirichlet_moderate… · numpy/numpy@010ad9b · GitHub
[go: up one dir, main page]

Skip to content

Commit 010ad9b

Browse files
authored
Merge pull request #28324 from charris/update-test_dirichlet_moderately_small_alpha
CI: update test_moderately_small_alpha [wheel build]
2 parents 56f8d5b + 6338746 commit 010ad9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/random/tests/test_generator_mt19937.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,7 @@ def test_dirichlet_small_alpha(self):
12441244
@pytest.mark.slow
12451245
def test_dirichlet_moderately_small_alpha(self):
12461246
# Use alpha.max() < 0.1 to trigger stick breaking code path
1247-
alpha = np.array([0.02, 0.04, 0.03])
1247+
alpha = np.array([0.02, 0.04])
12481248
exact_mean = alpha / alpha.sum()
12491249
random = Generator(MT19937(self.seed))
12501250
sample = random.dirichlet(alpha, size=20000000)

0 commit comments

Comments
 (0)
0