

def test_set_finder_use_wheel(self, finder):
    list(process_line('--use-wheel', 'file', 1, finder=finder))
    no_use_wheel_fmt = pip.index.FormatControl(set(), set())
    assert (finder.format_control == no_use_wheel_fmt)

dataset/ETHPy150Open pypa/pip/tests/unit/test_req_file.py TestProcessLine.test_set_finder_use_wheel/original