def test_ignore_line(self):
        lines = [(1, ''), (2, 'req1'), (3, 'req2')]
        result = ignore_comments(lines)
        assert list(result) == [(2, 'req1'), (3, 'req2')]
dataset/ETHPy150Open pypa/pip/tests/unit/test_req_file.py/TestIgnoreComments.test_ignore_line/original