Source

whoosh / tests / test_parse_plugins.py

Diff from to

tests/test_parse_plugins.py

     with ix.writer() as w:
         # Match -> first
         w.add_document(title=u("First"),
-                       content=u"This is the first document we've added!")
+                       content=u("This is the first document we've added!"))
         # No match
         w.add_document(title=u("Second"),
                        content=u("The second one is even more interesting! filst"))
 
     with ix.searcher(weighting=scoring.TF_IDF()) as searcher:
         results = searcher.search(q)
-        print(len(results))
         assert len(results) == 4
         assert " ".join(hit["title"] for hit in results) == "Fourth First Third Fifth"