(self)
| 2436 | assert_array_equal(np.genfromtxt(name), wanted) |
| 2437 | |
| 2438 | def test_gft_using_generator(self): |
| 2439 | # gft doesn't work with unicode. |
| 2440 | def count(): |
| 2441 | for i in range(10): |
| 2442 | yield asbytes("%d" % i) |
| 2443 | |
| 2444 | res = np.genfromtxt(count()) |
| 2445 | assert_array_equal(res, np.arange(10)) |
| 2446 | |
| 2447 | def test_auto_dtype_largeint(self): |
| 2448 | # Regression test for numpy/numpy#5635 whereby large integers could |
nothing calls this directly
no test coverage detected