Skip to content

Commit a57a09f

Browse files
committed
Increase the range for the randomness in this test
1 parent 157b49f commit a57a09f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/examples/test_driftbif_simulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_ratio(self):
7373
sample = np.array(tau)
7474
before = np.sum(sample <= 1/0.3)
7575
beyond = np.sum(sample > 1/0.3)
76-
self.assertTrue(abs(0.4 - float(before)/(before+beyond))<0.001)
76+
self.assertTrue(abs(0.4 - float(before)/(before+beyond))<0.002)
7777

7878
class LoadDriftBifTestCase(unittest.TestCase):
7979
def test_classification_labels(self):

0 commit comments

Comments
 (0)