]> granicus.if.org Git - postgresql/commit
Tweak tests to support Python 3.7
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 13 Feb 2018 21:13:20 +0000 (16:13 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 6 May 2018 03:54:04 +0000 (23:54 -0400)
commite7f90471590025ccb522562bec8513238805395b
tree83e2e8b39bb053092b7b2bcb7a79f2f0176a6551
parent4f90e0ffe7a5c9c8b22a22e1caf05b6a3cbdbae6
Tweak tests to support Python 3.7

Python 3.7 removes the trailing comma in the repr() of
BaseException (see <https://bugs.python.org/issue30399>), leading to
test output differences.  Work around that by composing the equivalent
test output in a more manual way.
src/pl/plpython/expected/plpython_subtransaction.out
src/pl/plpython/expected/plpython_subtransaction_0.out
src/pl/plpython/expected/plpython_subtransaction_5.out
src/pl/plpython/sql/plpython_subtransaction.sql