

def test_skip_regex_after_joining_case1(self, options):
    content = textwrap.dedent('          patt\\\n          ern\n          line2\n        ')
    options.skip_requirements_regex = 'pattern'
    result = preprocess(content, options)
    assert (list(result) == [(3, 'line2')])

dataset/ETHPy150Open pypa/pip/tests/unit/test_req_file.py TestPreprocess.test_skip_regex_after_joining_case1/original