1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-12 02:37:31 +03: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:
Peter Eisentraut
2014-04-29 22:16:16 -04:00
parent 322173eb0a
commit d0765d50f4
2 changed files with 4 additions and 4 deletions

View File

@@ -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;