summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-05-14 03:04:57 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-05-14 03:04:57 +0100
commit799f8bded4c86321f0791fcbd85951b963a2664a (patch)
tree5ae9b7f30949fe24973e155e0ab1cb6ef9f903f2
parent451dc8c5bf0ea41f308b3e55d8e480d717dc8cc8 (diff)
downloadpsycopg2-799f8bded4c86321f0791fcbd85951b963a2664a.tar.gz
Hstore test fixed after adapting arrays dropped space after commas
-rwxr-xr-xtests/test_types_extras.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_types_extras.py b/tests/test_types_extras.py
index e1db2c2..c2603f7 100755
--- a/tests/test_types_extras.py
+++ b/tests/test_types_extras.py
@@ -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()