MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_callapi

Method test_callapi

Lib/test/pickletester.py:4475–4483  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4473 self.assertEqual(pickle.HIGHEST_PROTOCOL, 5)
4474
4475 def test_callapi(self):
4476 f = io.BytesIO()
4477 # With and without keyword arguments
4478 self.dump(123, f, -1)
4479 self.dump(123, file=f, protocol=-1)
4480 self.dumps(123, -1)
4481 self.dumps(123, protocol=-1)
4482 self.Pickler(f, -1)
4483 self.Pickler(f, protocol=-1)
4484
4485 def test_dump_text_file(self):
4486 f = open(TESTFN, "w")

Callers

nothing calls this directly

Calls 2

dumpsMethod · 0.95
dumpMethod · 0.45

Tested by

no test coverage detected