diff --git a/tests/tantivy_test.py b/tests/tantivy_test.py index e49c3fa7..328c5352 100644 --- a/tests/tantivy_test.py +++ b/tests/tantivy_test.py @@ -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):