Make Python tests more portable
Peter Eisentraut <peter_e@gmx.net>
Make Python tests more portable Newer Python versions randomize the hash seed for dictionaries, resulting in a random output order, which messes up the regression test diffs. Instead, use Python assert to compare the dictionaries with their expected value.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/hstore_plpython/expected/hstore_plpython.out | modified | +4 −12 |
| contrib/hstore_plpython/sql/hstore_plpython.sql | modified | +4 −4 |