MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / UnprintableError

Class UnprintableError

tests/test_copy.py:709–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707
708 async def test_copy_records_to_table_unprintable_error(self):
709 class UnprintableError(ValueError):
710 def __str__(self):
711 raise AssertionError('cannot format exception')
712
713 await self._test_copy_records_generator_error(
714 UnprintableError(), asynchronous=True, transaction=False)

Calls

no outgoing calls