Thread: pgsql: PL/Python: Adjust the regression tests for Python 3.3
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(-)