(self)
| 2400 | assert_array_equal(np.genfromtxt(name), wanted) |
| 2401 | |
| 2402 | def test_gft_using_generator(self): |
| 2403 | # gft doesn't work with unicode. |
| 2404 | def count(): |
| 2405 | for i in range(10): |
| 2406 | yield asbytes(f"{i}") |
| 2407 | |
| 2408 | res = np.genfromtxt(count()) |
| 2409 | assert_array_equal(res, np.arange(10)) |
| 2410 | |
| 2411 | def test_auto_dtype_largeint(self): |
| 2412 | # Regression test for numpy/numpy#5635 whereby large integers could |
nothing calls this directly
no test coverage detected