pgsql: Make Python tests more portable
Started by Peter Eisentrautover 11 years ago1 messagescommitters
Stepping through
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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers