]> granicus.if.org Git - postgresql/commit
Make Python tests more portable
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 31 May 2015 11:10:45 +0000 (07:10 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 31 May 2015 11:10:45 +0000 (07:10 -0400)
commit75f9d17638c9c6bec34f80326c35010c47924728
treed8e839458fc32f030da84a1a63394f94e849e10a
parentac6f22957d2f2999034b6a14d0d4bee25ba95f04
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.
contrib/hstore_plpython/expected/hstore_plpython.out
contrib/hstore_plpython/sql/hstore_plpython.sql