diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-05-14 03:04:57 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-05-18 12:11:02 +0100 |
commit | 8dd00ee87469d908dfa800d50d87e09ab97ed90f (patch) | |
tree | 07806517d9b7f78e614a714268ed241945b0cfbe | |
parent | b5e4a040f8e50928aefc4f3dc9717bbcf3520cd0 (diff) | |
download | psycopg2-8dd00ee87469d908dfa800d50d87e09ab97ed90f.tar.gz |
Hstore test fixed after adapting arrays dropped space after commasnested-array-nulls
-rwxr-xr-x | tests/test_types_extras.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_types_extras.py b/tests/test_types_extras.py index 5cb1353..cda163b 100755 --- a/tests/test_types_extras.py +++ b/tests/test_types_extras.py @@ -179,8 +179,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 = list(zip(kk, vv)) ii.sort() |