def test_double_install(script, data):
 result = script.pip('install', 'pip', 'pip', expect_error=False)
 msg = "Double requirement given: pip (already in pip, name='pip')"
 assert (msg not in result.stderr)

def test_double_install ( script , data ) : result = script . pip ( 'install' , 'pip' , 'pip' , expect_error = False ) msg = "Double requirement given: pip (already in pip, name='pip')" assert ( msg not in result . stderr )
test double install passing with two same version requirements .