Fix an ordering issue testing DatabaseState.iter_indexes().

Review Request #10597 — Created June 18, 2019 and submitted

chipx86
Django Evolution
master
django-evolution

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 a set, which also requires being able to hash
IndexState instances.

Unit tests pass.

Summary
Fix an ordering issue testing DatabaseState.iter_indexes().
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (463aa3e)
Loading...