(self)
| 1165 | assert_(np.loadtxt(f, ndmin=1).shape == (0,)) |
| 1166 | |
| 1167 | def test_generator_source(self): |
| 1168 | def count(): |
| 1169 | for i in range(10): |
| 1170 | yield f"{i}" |
| 1171 | |
| 1172 | res = np.loadtxt(count()) |
| 1173 | assert_array_equal(res, np.arange(10)) |
| 1174 | |
| 1175 | def test_bad_line(self): |
| 1176 | c = TextIO() |
nothing calls this directly
no test coverage detected