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

Method test_raw_released

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

Source from the content-addressed store, hash-verified

143 self.check_raw_non_contiguous(arr)
144
145 def test_raw_released(self):
146 pb = PickleBuffer(b"foo")
147 pb.release()
148 with self.assertRaises(ValueError) as raises:
149 pb.raw()
150
151
152if __name__ == "__main__":

Callers

nothing calls this directly

Calls 3

rawMethod · 0.80
releaseMethod · 0.45
assertRaisesMethod · 0.45

Tested by

no test coverage detected