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

Method check_raw

Lib/test/test_picklebuffer.py:109–113  ·  view source on GitHub ↗
(self, obj, equiv)

Source from the content-addressed store, hash-verified

107
108 @unittest.expectedFailure # TODO: RUSTPYTHON
109 def check_raw(self, obj, equiv):
110 pb = PickleBuffer(obj)
111 with pb.raw() as m:
112 self.assertIsInstance(m, memoryview)
113 self.check_memoryview(m, equiv)
114
115 @unittest.expectedFailure # TODO: RUSTPYTHON
116 def test_raw(self):

Callers 2

test_rawMethod · 0.95
test_raw_ndarrayMethod · 0.95

Calls 3

check_memoryviewMethod · 0.95
assertIsInstanceMethod · 0.80
rawMethod · 0.45

Tested by

no test coverage detected