diff --git a/docs/usage.rst b/docs/usage.rst index 9a88d2ca..72e32184 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -321,7 +321,7 @@ be registered on a connection using :meth:`Connection.set_builtin_type_codec() await conn.set_builtin_type_codec( 'hstore', codec_name='pg_contrib.hstore') result = await conn.fetchval("SELECT 'a=>1,b=>2'::hstore") - assert result == {'a': 1, 'b': 2} + assert result == {'a': '1', 'b': '2'} asyncio.get_event_loop().run_until_complete(run())