pgsql: Make Python tests more portable
pgsql: 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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/75f9d17638c9c6bec34f80326c35010c47924728 Modified Files -------------- contrib/hstore_plpython/expected/hstore_plpython.out | 16 ++++------------ contrib/hstore_plpython/sql/hstore_plpython.sql | 8 ++++---- 2 files changed, 8 insertions(+), 16 deletions(-)