Update expected files for older Python versions

neglected in commit fa03769e4c
This commit is contained in:
Peter Eisentraut 2018-05-03 20:29:19 -04:00
parent bad51a49a4
commit 7d8679975f
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ with plpy.subtransaction():
except plpy.SPIError, e:
if not swallow:
raise
plpy.notice("Swallowed %r" % e)
plpy.notice("Swallowed %s(%r)" % (e.__class__.__name__, e.args[0]))
return "ok"
$$ LANGUAGE plpythonu;
ERROR: could not compile PL/Python function "subtransaction_nested_test"

View File

@ -128,7 +128,7 @@ with plpy.subtransaction():
except plpy.SPIError, e:
if not swallow:
raise
plpy.notice("Swallowed %r" % e)
plpy.notice("Swallowed %s(%r)" % (e.__class__.__name__, e.args[0]))
return "ok"
$$ LANGUAGE plpythonu;
ERROR: could not compile PL/Python function "subtransaction_nested_test"