(self)
| 29 | np.empty((1,), dtype=[('x', np.int64)]) |
| 30 | |
| 31 | def test_pickle_transposed(self): |
| 32 | # Ticket #16 |
| 33 | a = np.transpose(np.array([[2, 9], [7, 0], [3, 8]])) |
| 34 | for proto in range(2, pickle.HIGHEST_PROTOCOL + 1): |
| 35 | with BytesIO() as f: |
| 36 | pickle.dump(a, f, protocol=proto) |
| 37 | f.seek(0) |
| 38 | b = pickle.load(f) |
| 39 | assert_array_equal(a, b) |
| 40 | |
| 41 | def test_dtype_names(self): |
| 42 | # Ticket #35 |
nothing calls this directly
no test coverage detected