mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 10:53:44 +03:00
Hstore test fixed after adapting arrays dropped space after commas
This commit is contained in:
parent
b5e4a040f8
commit
8dd00ee874
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user