MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / test_minkey_pickling

Method test_minkey_pickling

test/test_bson.py:1435–1443  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1433 self.round_trip_pickle(dbr, pickled_with_3)
1434
1435 def test_minkey_pickling(self):
1436 mink = MinKey()
1437 pickled_with_3 = (
1438 b"\x80\x04\x95\x1e\x00\x00\x00\x00\x00\x00\x00\x8c"
1439 b"\x0cbson.min_key\x94\x8c\x06MinKey\x94\x93\x94)"
1440 b"\x81\x94."
1441 )
1442
1443 self.round_trip_pickle(mink, pickled_with_3)
1444
1445 def test_maxkey_pickling(self):
1446 maxk = MaxKey()

Callers

nothing calls this directly

Calls 2

round_trip_pickleMethod · 0.95
MinKeyClass · 0.90

Tested by

no test coverage detected