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

Method test_shareable

Lib/test/test_crossinterp.py:526–532  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

524 MODE = 'pickle'
525
526 def test_shareable(self):
527 with ignore_byteswarning():
528 for obj in SHAREABLE:
529 if obj in PICKLEABLE:
530 self.assert_roundtrip_equal([obj])
531 else:
532 self.assert_not_shareable([obj])
533
534 def test_not_shareable(self):
535 with ignore_byteswarning():

Callers

nothing calls this directly

Calls 3

ignore_byteswarningFunction · 0.85
assert_not_shareableMethod · 0.80

Tested by

no test coverage detected