Skip to content

Commit 41f3983

Browse files
committed
Skip more slow tests
1 parent d68837e commit 41f3983

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

python/tests/test_haplotype_matching.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,6 +1312,7 @@ def test_switch_each_sample_missing_middle(self):
13121312

13131313

13141314
class TestSimulationExamples:
1315+
@pytest.mark.slow
13151316
@pytest.mark.parametrize("n", [3, 10, 50])
13161317
@pytest.mark.parametrize("L", [1, 10, 100])
13171318
def test_continuous_genome(self, n, L):

python/tests/test_tables.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5064,6 +5064,7 @@ def test_all_shared_example(self):
50645064
uni.union(tables, node_mapping, record_provenance=False)
50655065
uni.assert_equals(tables)
50665066

5067+
@pytest.mark.slow
50675068
def test_no_add_pop(self):
50685069
self.verify_union(
50695070
*self.split_example(self.get_msprime_example(10, 10, seed=135), 10),
@@ -5093,6 +5094,7 @@ def test_provenance(self):
50935094
tables.provenances.truncate(tables.provenances.num_rows - 1)
50945095
assert tables.provenances == tables_copy.provenances
50955096

5097+
@pytest.mark.slow
50965098
def test_examples(self):
50975099
for N in [2, 4, 5]:
50985100
for T in [2, 5, 20]:

python/tests/test_topology.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4230,6 +4230,7 @@ def test_single_multiroot_tree_recurrent_mutations(self):
42304230
for keep in [True, False]:
42314231
self.verify_simplify_haplotypes(ts, samples, keep_unary=keep)
42324232

4233+
@pytest.mark.slow
42334234
def test_many_multiroot_trees_recurrent_mutations(self):
42344235
ts = msprime.simulate(7, recombination_rate=1, random_seed=10)
42354236
assert ts.num_trees > 3

python/tests/test_tree_stats.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,7 @@ def test_short_sequence_length(self):
596596
assert ts.num_trees > 2
597597
self.verify(ts)
598598

599+
@pytest.mark.slow
599600
def test_wright_fisher_unsimplified(self):
600601
tables = wf.wf_sim(
601602
4,
@@ -784,6 +785,7 @@ def test_single_tree_sites_no_mutations(self):
784785
tables.sites.add_row(0.2, "aaa")
785786
self.verify(tables.tree_sequence())
786787

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

810+
@pytest.mark.slow
808811
def test_many_trees_sequence_length_infinite_sites(self):
809812
for L in [0.5, 1.5, 3.3333]:
810813
ts = msprime.simulate(

0 commit comments

Comments
 (0)