1. Matt Chaput
  2. whoosh

Source

whoosh / stress / test_update.py

Diff from to

File stress/test_update.py

  • Ignore whitespace
             w = ix.writer()
             w.update_document(key=text_type(num))
             w.commit()
-        
+
         with ix.searcher() as s:
             result = [d["key"] for d in s.search(query.Every())]
             assert_equal(len(result), len(set(result)))