def test_uninstall_wheel(script, data):
 package = data.packages.join('simple.dist-0.1-py2.py3-none-any.whl')
 result = script.pip('install', package, '--no-index')
 dist_info_folder = (script.site_packages / 'simple.dist-0.1.dist-info')
 assert (dist_info_folder in result.files_created)
 result2 = script.pip('uninstall', 'simple.dist', '-y')
 assert_all_changes(result, result2, [])

def test_uninstall_wheel ( script , data ) : package = data . packages . join ( 'simple.dist-0.1-py2.py3-none-any.whl' ) result = script . pip ( 'install' , package , '--no-index' ) dist_info_folder = ( script . site_packages / 'simple.dist-0.1.dist-info' ) assert ( dist_info_folder in result . files_created ) result2 = script . pip ( 'uninstall' , 'simple.dist' , '-y' ) assert_all_changes ( result , result2 , [ ] )
test uninstalling a wheel .