def test_nonexistent_options_listed_in_order(script, data):
    result = script.pip(
        'install', '--no-index',
        '--find-links=' + data.find_links,
        'simplewheel[nonexistent, nope]', expect_stderr=True,
    )
    msg = (
        "  simplewheel 2.0 does not provide the extra 'nonexistent'\n"
        "  simplewheel 2.0 does not provide the extra 'nope'"
    )
    assert msg in result.stderr
Replaces the top N items from the stack with the items in the list
dataset/ETHPy150Open pypa/pip/tests/functional/test_install_extras.py/test_nonexistent_options_listed_in_order--crossover with--dataset/ETHPy150Open ricmoo/pycoind/pycoind/script/script.py/_stack_op