]> 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>
Thu, 3 May 2018 17:13:09 +0000 (13:13 -0400)
commitfa03769e4c4bf0911da71fba2501006b05ea195a
treef9d4d77c4cccf688562df5f9839198ae3083e7c2
parent8f9be261f43772ccee2eae94d971bac6557cbe6a
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/sql/plpython_subtransaction.sql