Skip to content

Commit

Permalink
Revert test back to original check
Browse files Browse the repository at this point in the history
  • Loading branch information
cjrh authored Jul 20, 2023
1 parent 1ca57fa commit 0cfd4b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tantivy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ def test_create_readers(self):

class TestSearcher(object):
def test_searcher_repr(self, ram_index, ram_index_numeric_fields):
assert repr(ram_index.searcher()) == "Searcher(num_docs=3, num_segments=3)"
assert repr(ram_index_numeric_fields.searcher()) == "Searcher(num_docs=2, num_segments=2)"
assert repr(ram_index.searcher()) == "Searcher(num_docs=3, num_segments=1)"
assert repr(ram_index_numeric_fields.searcher()) == "Searcher(num_docs=2, num_segments=1)"


class TestDocument(object):
Expand Down

0 comments on commit 0cfd4b0

Please sign in to comment.