From 5dff93638c4443d3afba017f64c9ade69e0fbd3b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 24 Aug 2009 20:25:25 +0000 Subject: 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. --- src/pl/plpython/expected/plpython_test.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pl/plpython/expected/plpython_test.out') diff --git a/src/pl/plpython/expected/plpython_test.out b/src/pl/plpython/expected/plpython_test.out index 5cce4e290f..8bef675009 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: -- cgit v1.2.1