Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf1b8987

Browse files
committed
PL/Python: Make tests pass with Python 3.5
The error message wording for AttributeError has changed in Python 3.5.For the plpython_error test, add a new expected file. In theplpython_subtransaction test, we didn't really care what the exceptionis, only that it is something coming from Python. So use a genericexception instead, which has a message that doesn't vary acrossversions.
1 parent87cdfeb commitf1b8987

File tree

6 files changed

+445
-16
lines changed

6 files changed

+445
-16
lines changed

‎src/pl/plpython/expected/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Guide to alternative expected files:
22

33
plpython_error_0.outPython 2.4 and older
4+
plpython_error_5.outPython 3.5 and newer
45

56
plpython_unicode.outserver encoding != SQL_ASCII
67
plpython_unicode_3.outserver encoding == SQL_ASCII

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp