From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: PL/Python: Make tests pass with Python 3.5
Date: Sat, 14 Nov 2015 18:54:49 +0000
Message-ID: <E1ZxfyL-0008Ie-KH@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
PL/Python: Make tests pass with Python 3.5
The error message wording for AttributeError has changed in Python 3.5.
For the plpython_error test, add a new expected file. In the
plpython_subtransaction test, we didn't really care what the exception
is, only that it is something coming from Python. So use a generic
exception instead, which has a message that doesn't vary across
versions.
Branch
------
REL9_3_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/a37ab812c7a2a99917e01f07ac4958712ea02637
Modified Files
--------------
src/pl/plpython/expected/README | 1 +
src/pl/plpython/expected/plpython_error_5.out | 428 ++++++++++++++++++++
.../plpython/expected/plpython_subtransaction.out | 12 +-
.../expected/plpython_subtransaction_0.out | 8 +-
.../expected/plpython_subtransaction_5.out | 8 +-
src/pl/plpython/sql/plpython_subtransaction.sql | 4 +-
6 files changed, 445 insertions(+), 16 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: pgsql: PL/Python: Make tests pass with Python 3.5
In-Reply-To: <E1ZxfyL-0008Ie-KH@gemulon.postgresql.org>
References: <E1ZxfyL-0008Ie-KH@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox