From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Make Python tests more portable |
Date: | 2015-05-31 11:12:57 |
Message-ID: | E1Yz1An-0000yt-6Q@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2015-06-01 00:43:50 | pgsql: Rename jsonb_replace to jsonb_set and allow it to add new values |
Previous Message | Peter Eisentraut | 2015-05-30 02:14:52 | Re: pgsql: Adjust initdb to also not consider fsync'ing failures fatal. |