pgsql: Tweak tests to support Python 3.7

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Tweak tests to support Python 3.7
Дата
Msg-id E1fFAoz-0006CE-SL@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Tweak tests to support Python 3.7

Python 3.7 removes the trailing comma in the repr() of
BaseException (see <https://bugs.python.org/issue30399>), leading to
test output differences.  Work around that by composing the equivalent
test output in a more manual way.

Branch
------
REL9_5_STABLE

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

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(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix bootstrap parser so that its keywords are unreserved words.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Clear severity 5 perlcritic warnings from vcregress.pl