PL/Python: Make tests pass with Python 3.5

Peter Eisentraut <peter_e@gmx.net>

Commit: f16d52269a196f7f303abe3b978d95ade265f05f
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2015-08-14T03:55:20Z
Releases: 9.6.0
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