Skip to content

Commit

Permalink
Add assertion to failing test to tell us what to work on next
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Jul 16, 2024
1 parent a428a9f commit 7767cc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_conditional_simulations.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ def test_sweep_from_new_mutation_using_API(
assert output.num_descendant_nodes == 1
assert output.pop.generation > pop.generation
if output.pop is not None:
assert output.mutation_index is not None
assert output.pop.mcounts[output.mutation_index] == 2 * output.pop.N
_ = output.pop.dump_tables_to_tskit()
if output.pop.fixation_times[output.mutation_index] < output.pop.generation:
Expand Down

0 comments on commit 7767cc4

Please sign in to comment.