@pytest.mark.network
def test_upgrade_force_reinstall_newest(script):
    result = script.pip('install', 'INITools')
    assert script.site_packages / 'initools' in result.files_created, (
        sorted(result.files_created.keys())
    )
    result2 = script.pip(
        'install', '--upgrade', '--force-reinstall', 'INITools'
    )
    assert result2.files_updated, 'upgrade to INITools 0.3 failed'
    result3 = script.pip('uninstall', 'initools', '-y', expect_error=True)
    assert_all_changes(result, result3, [script.venv / 'build', 'cache'])
Called when the 'Help' button is pressed.
dataset/ETHPy150Open pypa/pip/tests/functional/test_install_upgrade.py/test_upgrade_force_reinstall_newest--crossover with--dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/dialog.py/Dialog._wx_on_help