pgsql: PL/Python: Adjust the regression tests for Python 3.3 - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: PL/Python: Adjust the regression tests for Python 3.3
Date
Msg-id E1SSwir-0003uc-DF@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
PL/Python: Adjust the regression tests for Python 3.3

The string representation of ImportError changed.  Remove printing
that; it's not necessary for the test.

The order in which members of a dict are printed changed.  But this
was always implementation-dependent, so we have just been lucky for a
long time.  Do the printing the hard way to ensure sorted order.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2cfb1c6f77734db81b6e74bcae630f93b94f69be

Modified Files
--------------
src/pl/plpython/expected/plpython_import.out  |    5 +----
src/pl/plpython/expected/plpython_params.out  |   17 ++++++++++++-----
src/pl/plpython/expected/plpython_trigger.out |   10 ++++++++--
src/pl/plpython/sql/plpython_import.sql       |    3 +--
src/pl/plpython/sql/plpython_params.sql       |    9 ++++++++-
src/pl/plpython/sql/plpython_trigger.sql      |   10 ++++++++--
6 files changed, 38 insertions(+), 16 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix contrib/citext's upgrade script to handle array and domain c
Next
From: Tom Lane
Date:
Subject: pgsql: Cosmetic adjustments for postmaster's handling of checkpointer.