MCPcopy Index your code
hub / github.com/python/cpython / test_dumps

Method test_dumps

Lib/idlelib/idle_test/test_rpc.py:22–25  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20 rpc.CodePickler.dispatch_table)
21
22 def test_dumps(self):
23 def f(): pass
24 # The main test here is that pickling code does not raise.
25 self.assertIn(b'test_rpc.py', rpc.dumps(f.__code__))
26
27
28if __name__ == '__main__':

Callers

nothing calls this directly

Calls 2

assertInMethod · 0.80
dumpsMethod · 0.45

Tested by

no test coverage detected