pgsql: Make Python tests more portable

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Make Python tests more portable
Дата
Msg-id E1Yz1An-0000yt-6Q@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: Adjust initdb to also not consider fsync'ing failures fatal.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Rename jsonb_replace to jsonb_set and allow it to add new values