@@ -964,17 +964,17 @@ def test_install_builds_wheels(script, data):
964964    # Must have installed it all 
965965    assert  expected  in  str (res ), str (res )
966966    root  =  appdirs .user_cache_dir ('pip' )
967-     wheels  =  []
967+     files_in_cache  =  []
968968    for  top , dirs , files  in  os .walk (os .path .join (root , "wheels" )):
969-         wheels .extend (files )
969+         files_in_cache .extend (files )
970970    # and built wheels for upper and wheelbroken 
971971    assert  "Running setup.py bdist_wheel for upper"  in  str (res ), str (res )
972972    assert  "Running setup.py bdist_wheel for wheelb"  in  str (res ), str (res )
973973    # But not requires_wheel... which is a local dir and thus uncachable. 
974974    assert  "Running setup.py bdist_wheel for requir"  not  in str (res ), str (res )
975975    # wheelbroken has to run install 
976976    # into the cache 
977-     assert  wheels  !=  [], str (res )
977+     assert  files_in_cache  !=  [], str (res )
978978    # and installed from the wheel 
979979    assert  "Running setup.py install for upper"  not  in str (res ), str (res )
980980    # the local tree can't build a wheel (because we can't assume that every 
@@ -983,8 +983,9 @@ def test_install_builds_wheels(script, data):
983983    # wheelbroken has to run install 
984984    assert  "Running setup.py install for wheelb"  in  str (res ), str (res )
985985    # We want to make sure we used the correct implementation tag 
986-     assert  wheels  ==  [
986+     assert  files_in_cache  ==  [
987987        "Upper-2.0-{0}-none-any.whl" .format (pep425tags .implementation_tag ),
988+         "link" ,
988989    ]
989990
990991
0 commit comments