pgsql: PL/Python: Adjust the regression tests for Python 3.3

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: PL/Python: Adjust the regression tests for Python 3.3
Date: 2012-05-11 20:45:57
Message-ID: E1SSwir-0003uc-DF@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-05-11 21:46:51 pgsql: Cosmetic adjustments for postmaster's handling of checkpointer.
Previous Message Tom Lane 2012-05-11 19:22:48 pgsql: Fix contrib/citext's upgrade script to handle array and domain c