()
| 2606 | |
| 2607 | |
| 2608 | def test_ducktyping(): |
| 2609 | a = np.random.random((5, 5)) |
| 2610 | |
| 2611 | s = BytesIO() |
| 2612 | f = JustWriter(s) |
| 2613 | |
| 2614 | np.save(f, a) |
| 2615 | f.flush() |
| 2616 | s.seek(0) |
| 2617 | |
| 2618 | f = JustReader(s) |
| 2619 | assert_array_equal(np.load(f), a) |
| 2620 | |
| 2621 | |
| 2622 | def test_gzip_loadtxt(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…