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

Method test_record_not_pickleable

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

Source from the content-addressed store, hash-verified

299 r.get(default=2)
300
301 def test_record_not_pickleable(self):
302 r = Record(R_A, (42,))
303 with self.assertRaises(Exception):
304 pickle.dumps(r)
305
306 def test_record_empty(self):
307 r = Record(None, ())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected