(self, a)
| 132 | return arr, arr_reloaded |
| 133 | |
| 134 | def check_roundtrips(self, a): |
| 135 | self.roundtrip(a) |
| 136 | self.roundtrip(a, file_on_disk=True) |
| 137 | self.roundtrip(np.asfortranarray(a)) |
| 138 | self.roundtrip(np.asfortranarray(a), file_on_disk=True) |
| 139 | if a.shape[0] > 1: |
| 140 | # neither C nor Fortran contiguous for 2D arrays or more |
| 141 | self.roundtrip(np.asfortranarray(a)[1:]) |
| 142 | self.roundtrip(np.asfortranarray(a)[1:], file_on_disk=True) |
| 143 | |
| 144 | def test_array(self): |
| 145 | a = np.array([], float) |
no test coverage detected