MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / assertRepr

Method assertRepr

test/test_bson.py:815–818  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

813 ) # type: ignore[call-overload]
814
815 def assertRepr(self, obj):
816 new_obj = eval(repr(obj))
817 self.assertEqual(type(new_obj), type(obj))
818 self.assertEqual(repr(new_obj), repr(obj))
819
820 def test_binaryvector_repr(self):
821 """Tests of repr(BinaryVector)"""

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected