Skip to content
Snippets Groups Projects
Commit fab6ca23 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

hstore_plpython: Fix regression tests under Python 3

parent e6dc5034
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ LANGUAGE plpythonu
TRANSFORM FOR TYPE hstore
AS $$
assert isinstance(val, dict)
i = val.items()
i = list(val.items())
i.sort()
plpy.info(i)
return len(val)
......@@ -25,7 +25,7 @@ LANGUAGE plpython2u
TRANSFORM FOR TYPE hstore
AS $$
assert isinstance(val, dict)
i = val.items()
i = list(val.items())
i.sort()
plpy.info(i)
return len(val)
......
......@@ -8,7 +8,7 @@ LANGUAGE plpythonu
TRANSFORM FOR TYPE hstore
AS $$
assert isinstance(val, dict)
i = val.items()
i = list(val.items())
i.sort()
plpy.info(i)
return len(val)
......@@ -23,7 +23,7 @@ LANGUAGE plpython2u
TRANSFORM FOR TYPE hstore
AS $$
assert isinstance(val, dict)
i = val.items()
i = list(val.items())
i.sort()
plpy.info(i)
return len(val)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment