Test that _ArrayMemoryError can be pickled
(self)
| 12 | |
| 13 | class TestArrayMemoryError: |
| 14 | def test_pickling(self): |
| 15 | """ Test that _ArrayMemoryError can be pickled """ |
| 16 | error = _ArrayMemoryError((1023,), np.dtype(np.uint8)) |
| 17 | res = pickle.loads(pickle.dumps(error)) |
| 18 | assert res._total_size == error._total_size |
| 19 | |
| 20 | def test_str(self): |
| 21 | e = _ArrayMemoryError((1023,), np.dtype(np.uint8)) |
nothing calls this directly
no test coverage detected