Skip to content

Commit e7ff3dd

Browse files
committed
updated locate() test
1 parent 96aff99 commit e7ff3dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_locate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def test_locate(model_names):
1414
assert 'americans' in words, words
1515
matches = model.locate(audio_path, 'americans', 'en', mode=1)
1616
assert len(matches), len(matches)
17-
any(['americans' in match['duration_window_text'].lower() for match in matches])
17+
assert any(['americans' in match['duration_window_text'].lower() for match in matches])
1818

1919

2020
def test():

0 commit comments

Comments
 (0)