(self)
| 142 | self.roundtrip(np.asfortranarray(a)[1:], file_on_disk=True) |
| 143 | |
| 144 | def test_array(self): |
| 145 | a = np.array([], float) |
| 146 | self.check_roundtrips(a) |
| 147 | |
| 148 | a = np.array([[1, 2], [3, 4]], float) |
| 149 | self.check_roundtrips(a) |
| 150 | |
| 151 | a = np.array([[1, 2], [3, 4]], int) |
| 152 | self.check_roundtrips(a) |
| 153 | |
| 154 | a = np.array([[1 + 5j, 2 + 6j], [3 + 7j, 4 + 8j]], dtype=np.csingle) |
| 155 | self.check_roundtrips(a) |
| 156 | |
| 157 | a = np.array([[1 + 5j, 2 + 6j], [3 + 7j, 4 + 8j]], dtype=np.cdouble) |
| 158 | self.check_roundtrips(a) |
| 159 | |
| 160 | def test_array_object(self): |
| 161 | a = np.array([], object) |
nothing calls this directly
no test coverage detected