(self)
| 48 | np.empty((1,), dtype=[('x', np.int64)]) |
| 49 | |
| 50 | def test_pickle_transposed(self): |
| 51 | # Ticket #16 |
| 52 | a = np.transpose(np.array([[2, 9], [7, 0], [3, 8]])) |
| 53 | for proto in range(2, pickle.HIGHEST_PROTOCOL + 1): |
| 54 | with BytesIO() as f: |
| 55 | pickle.dump(a, f, protocol=proto) |
| 56 | f.seek(0) |
| 57 | b = pickle.load(f) |
| 58 | assert_array_equal(a, b) |
| 59 | |
| 60 | def test_dtype_names(self): |
| 61 | # Ticket #35 |
nothing calls this directly
no test coverage detected