mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-07 03:57:29 +08:00
PL/Python: Adjust the regression tests for Python 3.4
The error test case in the plpython_do test resulted in a slightly different error message with Python 3.4. So pick a different way to test it that avoids that and is perhaps also a bit clearer.
This commit is contained in:
@ -2,4 +2,4 @@ DO $$ plpy.notice("This is plpythonu.") $$ LANGUAGE plpythonu;
|
||||
|
||||
DO $$ plpy.notice("This is plpython2u.") $$ LANGUAGE plpython2u;
|
||||
|
||||
DO $$ nonsense $$ LANGUAGE plpythonu;
|
||||
DO $$ raise Exception("error test") $$ LANGUAGE plpythonu;
|
||||
|
||||
Reference in New Issue
Block a user