]> 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:34:41 +0000 (23:34 -0400)
commitab7825eadf75f6369efe98951bb3b93c06aec783
treeb625a87c398bdcc46320fa2797bfd103db237bfd
parent7ff50cf60b20fa8c333e427f5e61b59f913844fe
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