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

Method test_raw

Lib/test/test_picklebuffer.py:105–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

103 self.check_memoryview(m, equiv)
104
105 def test_raw(self):
106 for obj in (b"foo", bytearray(b"foo")):
107 with self.subTest(obj=obj):
108 self.check_raw(obj, obj)
109
110 def test_raw_ndarray(self):
111 # 1-D, contiguous

Callers

nothing calls this directly

Calls 2

check_rawMethod · 0.95
subTestMethod · 0.45

Tested by

no test coverage detected