(self)
| 6173 | assert_array_equal(y, x) |
| 6174 | |
| 6175 | def test_roundtrip_binary_str(self): |
| 6176 | x = self._create_data() |
| 6177 | s = x.tobytes() |
| 6178 | y = np.frombuffer(s, dtype=x.dtype) |
| 6179 | assert_array_equal(y, x.flat) |
| 6180 | |
| 6181 | s = x.tobytes('F') |
| 6182 | y = np.frombuffer(s, dtype=x.dtype) |
| 6183 | assert_array_equal(y, x.flatten('F')) |
| 6184 | |
| 6185 | def test_roundtrip_str(self): |
| 6186 | x = self._create_data() |
nothing calls this directly
no test coverage detected