Skip to content

Commit 7989203

Browse files
authored
Fix test case for HStore decode
1 parent 2c99beb commit 7989203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ be registered on a connection using :meth:`Connection.set_builtin_type_codec()
321321
await con.set_builtin_type_codec(
322322
'hstore', codec_name='pg_contrib.hstore')
323323
result = await con.fetchval("SELECT 'a=>1,b=>2'::hstore")
324-
assert result == {'a': 1, 'b': 2}
324+
assert result == {'a': '1', 'b': '2'}
325325
326326
asyncio.get_event_loop().run_until_complete(run())
327327

0 commit comments

Comments
 (0)