Make PL/Python tests more compatible with Python 3

Peter Eisentraut <peter_e@gmx.net>

Commit: 5dff93638c4443d3afba017f64c9ade69e0fbd3b
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2009-08-24T20:25:25Z
Releases: 9.0.0
Make PL/Python tests more compatible with Python 3

This changes a bunch of incidentially used constructs in the PL/Python
regression tests to equivalent constructs in cases where Python 3 no longer
supports the old syntax.  Support for older Python versions is unchanged.

Files