@@ -964,17 +964,17 @@ def test_install_builds_wheels(script, data):
964
964
# Must have installed it all
965
965
assert expected in str (res ), str (res )
966
966
root = appdirs .user_cache_dir ('pip' )
967
- wheels = []
967
+ files_in_cache = []
968
968
for top , dirs , files in os .walk (os .path .join (root , "wheels" )):
969
- wheels .extend (files )
969
+ files_in_cache .extend (files )
970
970
# and built wheels for upper and wheelbroken
971
971
assert "Running setup.py bdist_wheel for upper" in str (res ), str (res )
972
972
assert "Running setup.py bdist_wheel for wheelb" in str (res ), str (res )
973
973
# But not requires_wheel... which is a local dir and thus uncachable.
974
974
assert "Running setup.py bdist_wheel for requir" not in str (res ), str (res )
975
975
# wheelbroken has to run install
976
976
# into the cache
977
- assert wheels != [], str (res )
977
+ assert files_in_cache != [], str (res )
978
978
# and installed from the wheel
979
979
assert "Running setup.py install for upper" not in str (res ), str (res )
980
980
# 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):
983
983
# wheelbroken has to run install
984
984
assert "Running setup.py install for wheelb" in str (res ), str (res )
985
985
# We want to make sure we used the correct implementation tag
986
- assert wheels == [
986
+ assert files_in_cache == [
987
987
"Upper-2.0-{0}-none-any.whl" .format (pep425tags .implementation_tag ),
988
+ "link" ,
988
989
]
989
990
990
991
0 commit comments