def test_drop_lines(self): config = Config() config.drop_lines = ['# ignore me'] self.go_exact(config, [ start, 'test', newline, A, '# ignore me, this comment is unhelpful\n', B, C, stop, 'other stuff' ])
def test_drop_lines(self): config = Config() config.drop_lines = ["# ignore me"] self.go_exact( config, [start, "test", newline, A, "# ignore me, this comment is unhelpful\n", B, C, stop, "other stuff"] )