Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Jul 17, 2024
1 parent 5ea06ce commit 04cdb5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_conditional_simulations.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,9 @@ def test_sweep_from_new_mutation_using_API(
)
else:
assert prune_selected is True
# TODO: how can this not be true?
# assert len(pop.fixations) > 0, f"{prune_selected}"
assert len(output.pop.fixations) > 0
assert output.fixation_index is not None
assert output.fixation_index < len(output.pop.fixations)

ti = fwdpy11.TreeIterator(output.pop.tables, output.pop.alive_nodes)
for t in ti:
Expand Down

0 comments on commit 04cdb5e

Please sign in to comment.