pgsql: Tweak tests to support Python 3.7

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Tweak tests to support Python 3.7
Date: 2018-05-03 17:13:20
Message-ID: E1fEHnE-0003RC-Pr@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-05-03 22:06:51 pgsql: Rearrange makefile rules for running Gen_fmgrtab.pl.
Previous Message Teodor Sigaev 2018-05-03 17:10:41 pgsql: Add HOLD_INTERRUPTS section into FinishPreparedTransaction.