pgsql: Tweak tests to support Python 3.7

Поиск
Список
Период
Сортировка
Искать

pgsql: Tweak tests to support Python 3.7

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Tweak tests to support Python 3.7

Python 3.7 removes the trailing comma in the repr() of
BaseException (see ), leading to
test output differences.  Work around that by composing the equivalent
test output in a more manual way.

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/af9e0d5cdf385d3924e8a8569df6b8314848e242

Modified Files
--------------
src/pl/plpython/expected/plpython_subtransaction.out   | 6 +++---
src/pl/plpython/expected/plpython_subtransaction_0.out | 2 +-
src/pl/plpython/expected/plpython_subtransaction_5.out | 2 +-
src/pl/plpython/sql/plpython_subtransaction.sql        | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)

FAQ