From 799f8bded4c86321f0791fcbd85951b963a2664a Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Mon, 14 May 2018 03:04:57 +0100 Subject: [PATCH] Hstore test fixed after adapting arrays dropped space after commas --- tests/test_types_extras.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_types_extras.py b/tests/test_types_extras.py index e1db2c2c..c2603f78 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()