MCPcopy
hub / github.com/MagicStack/asyncpg / test_void

Method test_void

tests/test_codecs.py:555–558  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

553 'core type {} ({}) is unhandled'.format(typename, oid))
554
555 async def test_void(self):
556 res = await self.con.fetchval('select pg_sleep(0)')
557 self.assertIsNone(res)
558 await self.con.fetchval('select now($1::void)', '')
559
560 def test_bitstring(self):
561 bitlen = random.randint(0, 1000)

Callers

nothing calls this directly

Calls 1

fetchvalMethod · 0.45

Tested by

no test coverage detected