(self)
| 822 | assert_array_equal(x, a) |
| 823 | |
| 824 | def test_comments_multiple(self): |
| 825 | c = TextIO() |
| 826 | c.write('# comment\n1,2,3\n@ comment2\n4,5,6 // comment3') |
| 827 | c.seek(0) |
| 828 | x = np.loadtxt(c, dtype=int, delimiter=',', |
| 829 | comments=['#', '@', '//']) |
| 830 | a = np.array([[1, 2, 3], [4, 5, 6]], int) |
| 831 | assert_array_equal(x, a) |
| 832 | |
| 833 | def test_comments_multi_chars(self): |
| 834 | c = TextIO() |
nothing calls this directly
no test coverage detected