(self)
| 134 | pb.raw() |
| 135 | |
| 136 | def test_raw_non_contiguous(self): |
| 137 | # 1-D |
| 138 | ndarray = import_helper.import_module("_testbuffer").ndarray |
| 139 | arr = ndarray(list(range(6)), shape=(6,), format='<i')[::2] |
| 140 | self.check_raw_non_contiguous(arr) |
| 141 | # 2-D |
| 142 | arr = ndarray(list(range(12)), shape=(4, 3), format='<i')[::2] |
| 143 | self.check_raw_non_contiguous(arr) |
| 144 | |
| 145 | def test_raw_released(self): |
| 146 | pb = PickleBuffer(b"foo") |
nothing calls this directly
no test coverage detected