(self)
| 796 | assert_array_equal(x, a) |
| 797 | |
| 798 | def test_comments_byte(self): |
| 799 | c = TextIO() |
| 800 | c.write('# comment\n1,2,3,5\n') |
| 801 | c.seek(0) |
| 802 | x = np.loadtxt(c, dtype=int, delimiter=',', |
| 803 | comments=b'#') |
| 804 | a = np.array([1, 2, 3, 5], int) |
| 805 | assert_array_equal(x, a) |
| 806 | |
| 807 | def test_comments_multiple(self): |
| 808 | c = TextIO() |
nothing calls this directly
no test coverage detected