PL/Python: Fix tests for older Python versions
Peter Eisentraut <peter_e@gmx.net>
PL/Python: Fix tests for older Python versions Commit 8561e4840c81f7e345be2df170839846814fa004 neglected to handle older Python versions that don't support the "with" statement. So write the tests in a way that older versions can handle as well.
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpython/expected/plpython_transaction.out | modified | +3 −2 |
| src/pl/plpython/sql/plpython_transaction.sql | modified | +3 −2 |