(self)
| 6183 | assert_array_equal(y, x.flatten('F')) |
| 6184 | |
| 6185 | def test_roundtrip_str(self): |
| 6186 | x = self._create_data() |
| 6187 | x = x.real.ravel() |
| 6188 | s = "@".join(map(str, x)) |
| 6189 | y = np.fromstring(s, sep="@") |
| 6190 | nan_mask = ~np.isfinite(x) |
| 6191 | assert_array_equal(x[nan_mask], y[nan_mask]) |
| 6192 | assert_array_equal(x[~nan_mask], y[~nan_mask]) |
| 6193 | |
| 6194 | def test_roundtrip_repr(self): |
| 6195 | x = self._create_data() |
nothing calls this directly
no test coverage detected