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

Method __str__

tests/test_copy.py:710–711  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected