Fix an ordering issue testing DatabaseState.iter_indexes().
Review Request #10597 — Created June 18, 2019 and submitted — Latest diff uploaded
DatabaseState.iter_indexes()
iterates in dictionary sort order, but we
were comparing in a specific order, breaking some versions of Python (or
when running on different interpreters/systems). We now compare the
results using aset
, which also requires being able to hash
IndexState
instances.
Unit tests pass.