Hstore test fixed after adapting arrays dropped space after commas

This commit is contained in:
Daniele Varrazzo 2018-05-14 03:04:57 +01:00
parent b5e4a040f8
commit 8dd00ee874

View File

@ -179,8 +179,8 @@ class HstoreTestCase(ConnectingTestCase):
m = re.match(br'hstore\(ARRAY\[([^\]]+)\], ARRAY\[([^\]]+)\]\)', q) m = re.match(br'hstore\(ARRAY\[([^\]]+)\], ARRAY\[([^\]]+)\]\)', q)
self.assert_(m, repr(q)) self.assert_(m, repr(q))
kk = m.group(1).split(b", ") kk = m.group(1).split(b",")
vv = m.group(2).split(b", ") vv = m.group(2).split(b",")
ii = list(zip(kk, vv)) ii = list(zip(kk, vv))
ii.sort() ii.sort()