summaryrefslogtreecommitdiff
path: root/src/pl/plpython/expected/plpython_test.out
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-08-24 20:25:25 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-08-24 20:25:25 +0000
commit5dff93638c4443d3afba017f64c9ade69e0fbd3b (patch)
treef3d9c7456f569a2b68dc7e3227485d15c0d358dc /src/pl/plpython/expected/plpython_test.out
parent8bed238c871fae205c5c6615f3b9ab8a039359e2 (diff)
Make PL/Python tests more compatible with Python 3
This changes a bunch of incidentially used constructs in the PL/Python regression tests to equivalent constructs in cases where Python 3 no longer supports the old syntax. Support for older Python versions is unchanged.
Diffstat (limited to 'src/pl/plpython/expected/plpython_test.out')
-rw-r--r--src/pl/plpython/expected/plpython_test.out2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/plpython/expected/plpython_test.out b/src/pl/plpython/expected/plpython_test.out
index 5cce4e290f0..8bef675009b 100644
--- a/src/pl/plpython/expected/plpython_test.out
+++ b/src/pl/plpython/expected/plpython_test.out
@@ -10,7 +10,7 @@ select stupid();
-- test multiple arguments
CREATE FUNCTION argument_test_one(u users, a1 text, a2 text) RETURNS text
AS
-'keys = u.keys()
+'keys = list(u.keys())
keys.sort()
out = []
for key in keys: