@pytest.mark.network
def test_install_global_option(script):
 result = script.pip('install', '--global-option=--version', 'INITools==0.1', expect_stderr=True)
 assert ('0.1\n' in result.stdout)

@ pytest . mark . network def test_install_global_option ( script ) : result = script . pip ( 'install' , '--global-option=--version' , 'INITools==0.1' , expect_stderr = True ) assert ( '0.1\n' in result . stdout )
test using global distutils options .