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

Method check_raw_non_contiguous

Lib/test/test_picklebuffer.py:131–134  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

129 self.check_raw(arr, equiv)
130
131 def check_raw_non_contiguous(self, obj):
132 pb = PickleBuffer(obj)
133 with self.assertRaisesRegex(BufferError, "non-contiguous"):
134 pb.raw()
135
136 def test_raw_non_contiguous(self):
137 # 1-D

Callers 1

Calls 2

assertRaisesRegexMethod · 0.80
rawMethod · 0.80

Tested by

no test coverage detected