pgsql: PL/Python: Fix tests for older Python versions - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: PL/Python: Fix tests for older Python versions
Date
Msg-id E1edfd4-0000XI-IN@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f498704346a4ce4953fc5f837cacb545b3166ee1

Modified Files
--------------
src/pl/plpython/expected/plpython_transaction.out | 5 +++--
src/pl/plpython/sql/plpython_transaction.sql      | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Make pg_dump's ACL, sec label,and comment entries reliably iden
Next
From: Tom Lane
Date:
Subject: pgsql: Reorder code in pg_dump to dump comments etc in a uniformorder.