PL/Python: Make tests pass with Python 3.5

Peter Eisentraut <peter_e@gmx.net>

Commit: 82076c1e40eb93717ede3c82f59e7711090b63a8
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2015-11-14T18:53:26Z
Releases: 9.2.15
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.

Files