(self, a)
| 123 | os.remove(target_file.name) |
| 124 | |
| 125 | def check_roundtrips(self, a): |
| 126 | self.roundtrip(a) |
| 127 | self.roundtrip(a, file_on_disk=True) |
| 128 | self.roundtrip(np.asfortranarray(a)) |
| 129 | self.roundtrip(np.asfortranarray(a), file_on_disk=True) |
| 130 | if a.shape[0] > 1: |
| 131 | # neither C nor Fortran contiguous for 2D arrays or more |
| 132 | self.roundtrip(np.asfortranarray(a)[1:]) |
| 133 | self.roundtrip(np.asfortranarray(a)[1:], file_on_disk=True) |
| 134 | |
| 135 | def test_array(self): |
| 136 | a = np.array([], float) |
no test coverage detected