def test_skip_regex_pattern_match(self):
        options = stub(skip_requirements_regex='.*Bad.*')
        line = '--extra-index-url Bad'
        assert [] == list(skip_regex(enumerate([line]), options))
dataset/ETHPy150Open pypa/pip/tests/unit/test_req_file.py/TestSkipRegex.test_skip_regex_pattern_match/original