@pytest.mark.skipif("hasattr(sys, 'pypy_version_info')")
def test_install_from_wheel_with_headers(script, data):
 package = data.packages.join('headers.dist-0.1-py2.py3-none-any.whl')
 result = script.pip('install', package, '--no-index', expect_error=False)
 dist_info_folder = (script.site_packages / 'headers.dist-0.1.dist-info')
 assert (dist_info_folder in result.files_created), (dist_info_folder, result.files_created, result.stdout)

@ pytest . mark . skipif ( "hasattr(sys, 'pypy_version_info')" ) def test_install_from_wheel_with_headers ( script , data ) : package = data . packages . join ( 'headers.dist-0.1-py2.py3-none-any.whl' ) result = script . pip ( 'install' , package , '--no-index' , expect_error = False ) dist_info_folder = ( script . site_packages / 'headers.dist-0.1.dist-info' ) assert ( dist_info_folder in result . files_created ) , ( dist_info_folder , result . files_created , result . stdout )
test installing from a wheel file with headers .