mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-03-13 12:25:48 +03:00
Hstore test fixed after adapting arrays dropped space after commas
This commit is contained in:
parent
451dc8c5bf
commit
799f8bded4
|
@ -178,8 +178,8 @@ class HstoreTestCase(ConnectingTestCase):
|
|||
m = re.match(br'hstore\(ARRAY\[([^\]]+)\], ARRAY\[([^\]]+)\]\)', q)
|
||||
self.assert_(m, repr(q))
|
||||
|
||||
kk = m.group(1).split(b", ")
|
||||
vv = m.group(2).split(b", ")
|
||||
kk = m.group(1).split(b",")
|
||||
vv = m.group(2).split(b",")
|
||||
ii = zip(kk, vv)
|
||||
ii.sort()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user