--- Whoosh-2.7.4/src/whoosh/automata/fsa.py.orig 2020-04-13 09:02:27.928252783 +0200 +++ Whoosh-2.7.4/src/whoosh/automata/fsa.py 2020-04-13 09:02:37.254868923 +0200 @@ -44,7 +44,7 @@ return False st = self.transitions ot = other.transitions - if list(st) != list(ot): + if sorted(list(st)) != sorted(list(ot)): return False for key in st: if st[key] != ot[key]: --- Whoosh-2.7.4/tests/test_reading.py.orig 2020-04-13 09:23:57.521266458 +0200 +++ Whoosh-2.7.4/tests/test_reading.py 2020-04-13 09:24:01.774576749 +0200 @@ -1,3 +1,4 @@ +# coding=utf-8 from __future__ import with_statement import random, threading, time --- Whoosh-2.7.4/setup.cfg.orig 2016-04-04 03:19:18.000000000 +0200 +++ Whoosh-2.7.4/setup.cfg 2020-04-13 09:25:13.170856629 +0200 @@ -15,7 +15,7 @@ push = sdist bdist_wheel upload pushdocs = build_sphinx upload_sphinx -[pytest] +[tool:pytest] addopts = -rs --tb=native norecursedirs = .hg .tox _build tmp* env* benchmark stress minversion = 2.0