mirror of
https://github.com/postgres/postgres.git
synced 2026-02-12 07:13:09 -05:00
The error message wording for AttributeError has changed in Python 3.5. For the plpython_error test, add a new expected file. In the plpython_subtransaction test, we didn't really care what the exception is, only that it is something coming from Python. So use a generic exception instead, which has a message that doesn't vary across versions.
12 lines
411 B
Text
12 lines
411 B
Text
Guide to alternative expected files:
|
|
|
|
plpython_error_0.out Python 2.4 and older
|
|
plpython_error_5.out Python 3.5 and newer
|
|
|
|
plpython_unicode.out server encoding != SQL_ASCII
|
|
plpython_unicode_3.out server encoding == SQL_ASCII
|
|
|
|
plpython_subtransaction_0.out Python 2.4 and older (without with statement)
|
|
plpython_subtransaction_5.out Python 2.5 (without with statement)
|
|
|
|
plpython_types_3.out Python 3.x
|