]> 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:03:44 +0000 (23:03 -0400)
commit8f1787a8f3f3584c70255372c1034d8990eaed9b
tree807b34781a2c093a86b205337c8d61ff1b859c19
parent0ebb3a4e16d246c8749a1e6e3e59e9db3e408200
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