Skip to content

Commit

Permalink
fix generator test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann committed Apr 1, 2023
1 parent a7b2a39 commit 5ac3223
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,10 @@ def generate_choices():
yield from choices

search = 'aaa'
result = process.extract(search, generate_choices())
assert len(result) > 0
res1 = process_cpp.extract(search, generate_choices())
res2 = process_py.extract(search, generate_choices())
assert res1 == res2
assert len(res1) > 0


def test_cdist_pure_python_dtype():
Expand Down

0 comments on commit 5ac3223

Please sign in to comment.