Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions python/tests/test_haplotype_matching.py
Original file line number Diff line number Diff line change
Expand Up @@ -1312,6 +1312,7 @@ def test_switch_each_sample_missing_middle(self):


class TestSimulationExamples:
@pytest.mark.slow
@pytest.mark.parametrize("n", [3, 10, 50])
@pytest.mark.parametrize("L", [1, 10, 100])
def test_continuous_genome(self, n, L):
Expand Down
2 changes: 2 additions & 0 deletions python/tests/test_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -5064,6 +5064,7 @@ def test_all_shared_example(self):
uni.union(tables, node_mapping, record_provenance=False)
uni.assert_equals(tables)

@pytest.mark.slow
def test_no_add_pop(self):
self.verify_union(
*self.split_example(self.get_msprime_example(10, 10, seed=135), 10),
Expand Down Expand Up @@ -5093,6 +5094,7 @@ def test_provenance(self):
tables.provenances.truncate(tables.provenances.num_rows - 1)
assert tables.provenances == tables_copy.provenances

@pytest.mark.slow
def test_examples(self):
for N in [2, 4, 5]:
for T in [2, 5, 20]:
Expand Down
1 change: 1 addition & 0 deletions python/tests/test_topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -4230,6 +4230,7 @@ def test_single_multiroot_tree_recurrent_mutations(self):
for keep in [True, False]:
self.verify_simplify_haplotypes(ts, samples, keep_unary=keep)

@pytest.mark.slow
def test_many_multiroot_trees_recurrent_mutations(self):
ts = msprime.simulate(7, recombination_rate=1, random_seed=10)
assert ts.num_trees > 3
Expand Down
3 changes: 3 additions & 0 deletions python/tests/test_tree_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ def test_short_sequence_length(self):
assert ts.num_trees > 2
self.verify(ts)

@pytest.mark.slow
def test_wright_fisher_unsimplified(self):
tables = wf.wf_sim(
4,
Expand Down Expand Up @@ -784,6 +785,7 @@ def test_single_tree_sites_no_mutations(self):
tables.sites.add_row(0.2, "aaa")
self.verify(tables.tree_sequence())

@pytest.mark.slow
def test_single_tree_jukes_cantor(self):
ts = msprime.simulate(6, random_seed=1, mutation_rate=1)
ts = tsutil.jukes_cantor(ts, 20, 1, seed=10)
Expand All @@ -805,6 +807,7 @@ def test_many_trees_infinite_sites(self):
assert ts.num_trees > 2
self.verify(ts)

@pytest.mark.slow
def test_many_trees_sequence_length_infinite_sites(self):
for L in [0.5, 1.5, 3.3333]:
ts = msprime.simulate(
Expand Down
Loading