(self)
| 1154 | assert_(np.loadtxt(f, ndmin=1).shape == (0,)) |
| 1155 | |
| 1156 | def test_generator_source(self): |
| 1157 | def count(): |
| 1158 | for i in range(10): |
| 1159 | yield "%d" % i |
| 1160 | |
| 1161 | res = np.loadtxt(count()) |
| 1162 | assert_array_equal(res, np.arange(10)) |
| 1163 | |
| 1164 | def test_bad_line(self): |
| 1165 | c = TextIO() |
nothing calls this directly
no test coverage detected