Skip to content

Commit

Permalink
Disable deadlines for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thequilo committed Aug 27, 2024
1 parent ccad5f3 commit 4d6c286
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_di_cp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from hypothesis import given, strategies as st, assume
from hypothesis import given, strategies as st, assume, settings
import meeteval


Expand All @@ -16,6 +16,7 @@


@given(seglst, seglst)
@settings(deadline=None) # The tests take longer on the GitHub actions test servers
def test_greedy_di_cp_bound_by_cp(ref, hyp):
cp = meeteval.wer.wer.cp.cp_word_error_rate(ref, hyp)
dicp = meeteval.wer.wer.di_cp.greedy_di_cp_word_error_rate(ref, hyp)
Expand All @@ -24,6 +25,7 @@ def test_greedy_di_cp_bound_by_cp(ref, hyp):


@given(seglst, seglst)
@settings(deadline=None) # The tests take longer on the GitHub actions test servers
def test_greedy_di_cp_vs_greedy_orc(ref, hyp):
"""
Test that the total distance of the greedy di-cp algorithm is equal to the
Expand Down

0 comments on commit 4d6c286

Please sign in to comment.