]> granicus.if.org Git - postgresql/commit
PL/Python: Adjust the regression tests for Python 3.3
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 11 May 2012 20:01:15 +0000 (23:01 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 11 May 2012 20:04:47 +0000 (23:04 +0300)
commit2cfb1c6f77734db81b6e74bcae630f93b94f69be
tree57db3ab48931ffe5a906998f2418a1d9f5b3ab48
parent63fecc91770f3d494b6fe993bdc198a9faf6fe2d
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.
src/pl/plpython/expected/plpython_import.out
src/pl/plpython/expected/plpython_params.out
src/pl/plpython/expected/plpython_trigger.out
src/pl/plpython/sql/plpython_import.sql
src/pl/plpython/sql/plpython_params.sql
src/pl/plpython/sql/plpython_trigger.sql