def test_nonexistent_extra_warns_user_with_wheel(script, data):
 result = script.pip('install', '--no-index', ('--find-links=' + data.find_links), 'simplewheel[nonexistent]', expect_stderr=True)
 assert ("simplewheel 2.0 does not provide the extra 'nonexistent'" in result.stderr)

def test_nonexistent_extra_warns_user_with_wheel ( script , data ) : result = script . pip ( 'install' , '--no-index' , ( '--find-links=' + data . find_links ) , 'simplewheel[nonexistent]' , expect_stderr = True ) assert ( "simplewheel 2.0 does not provide the extra 'nonexistent'" in result . stderr )
a warning is logged telling the user that the extra option they requested does not exist in the project they are wishing to install .