def test_no_upgrade_unless_requested(script):
    script.pip('install', 'INITools==0.1', expect_error=True)
    result = script.pip('install', 'INITools', expect_error=True)
    assert not result.files_created, (
        'pip install INITools upgraded when it should not have'
    )
No upgrade if not specifically requested.
dataset/ETHPy150Open pypa/pip/tests/functional/test_install_upgrade.py/test_no_upgrade_unless_requested