

def test_skip_regex_pattern_match(self):
    options = stub(skip_requirements_regex='.*Bad.*')
    line = '--extra-index-url Bad'
    assert ([] == list(skip_regex(enumerate([options]), options)))

dataset/ETHPy150Open pypa/pip/tests/unit/test_req_file.py TestSkipRegex.test_skip_regex_pattern_match/VarMisuse@35/55 `line`->`options`