PL/Python: Make tests pass with Python 3.5
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 3 Jun 2015 23:52:08 +0000 (19:52 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 14 Aug 2015 03:55:20 +0000 (23:55 -0400)
commitf16d52269a196f7f303abe3b978d95ade265f05f
treef108d2eec77518a62117cd96b7223510c57d3794
parentd67616c74395aede8795e785d565b96b735f3f6e
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.
src/pl/plpython/expected/README
src/pl/plpython/expected/plpython_error_5.out [new file with mode: 0644]
src/pl/plpython/expected/plpython_subtransaction.out
src/pl/plpython/expected/plpython_subtransaction_0.out
src/pl/plpython/expected/plpython_subtransaction_5.out
src/pl/plpython/sql/plpython_subtransaction.sql