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

Method test_record_immutable

tests/test_record.py:113–116  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

111 self.assertEqual(r[2:2], ())
112
113 def test_record_immutable(self):
114 r = Record(R_A, (42,))
115 with self.assertRaisesRegex(TypeError, 'does not support item'):
116 r[0] = 1
117
118 def test_record_repr(self):
119 self.assertEqual(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected