()
| 85 | |
| 86 | |
| 87 | def test_remove_comments(): |
| 88 | tests = [('text', 'text'), |
| 89 | ('text # comment', 'text '), |
| 90 | ('text # comment\n', 'text \n'), |
| 91 | ('text # comment \n', 'text \n'), |
| 92 | ('line # c \nline\n','line \nline\n'), |
| 93 | ('line # c \nline#c2 \nline\nline #c\n\n', |
| 94 | 'line \nline\nline\nline \n\n'), |
| 95 | ] |
| 96 | tt.check_pairs(isp.remove_comments, tests) |
| 97 | |
| 98 | |
| 99 | def test_get_input_encoding(): |
nothing calls this directly
no outgoing calls
no test coverage detected