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

Method __contains__

tests/test_codecs.py:856–857  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

854 # A pure container is _not_ OK for array input.
855 class SomeContainer:
856 def __contains__(self, item):
857 return False
858
859 with self.assertRaisesRegex(asyncpg.DataError,
860 'sized iterable container expected'):

Callers 1

test_record_containsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected