diff --git a/tests/random_lax_test.py b/tests/random_lax_test.py index c1b00439537e..49797b7f7c5b 100644 --- a/tests/random_lax_test.py +++ b/tests/random_lax_test.py @@ -1219,7 +1219,7 @@ def testBinomialSample(self, n, p, dtype): for samples in [uncompiled_samples, compiled_samples]: self._CheckChiSquared(samples.astype(int), pmf, pval=1e-3) self.assertAllClose(samples.mean(), n * p, rtol=0.025, check_dtypes=False) - self.assertAllClose(samples.var(), n * p * (1 - p) , rtol=0.035, + self.assertAllClose(samples.var(), n * p * (1 - p) , rtol=0.036, check_dtypes=False) def testBinomialCornerCases(self):