(self)
| 813 | assert_array_equal(x, a) |
| 814 | |
| 815 | def test_comments_byte(self): |
| 816 | c = TextIO() |
| 817 | c.write('# comment\n1,2,3,5\n') |
| 818 | c.seek(0) |
| 819 | x = np.loadtxt(c, dtype=int, delimiter=',', |
| 820 | comments=b'#') |
| 821 | a = np.array([1, 2, 3, 5], int) |
| 822 | assert_array_equal(x, a) |
| 823 | |
| 824 | def test_comments_multiple(self): |
| 825 | c = TextIO() |
nothing calls this directly
no test coverage detected