Skip to content

Commit a09fefd

Browse files
authored
Merge pull request #1330 from benjeffery/fix_stat_test
Use jukes cantor instead of msprime for failing test
2 parents 4ecb8cb + 0f18da6 commit a09fefd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tests/test_tree_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ def test_wright_fisher_simplified(self):
860860
)
861861
tables.sort()
862862
ts = tables.tree_sequence().simplify()
863-
ts = msprime.mutate(ts, rate=0.01, random_seed=42)
863+
ts = tsutil.jukes_cantor(ts, 10, 0.01, seed=1)
864864
assert ts.num_sites > 0
865865
self.verify(ts)
866866

0 commit comments

Comments
 (0)