]> 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:53:05 +0000 (23:53 -0400)
commitaf9e0d5cdf385d3924e8a8569df6b8314848e242
treeab260d24541994057caee142de94db1fc8f57adb
parent280cf0fe789d8ea2fdc3b8e374bfd82f674264de
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