diff --git a/src/pip/_internal/commands/cache.py b/src/pip/_internal/commands/cache.py index efba24f1a..ec21be68f 100644 --- a/src/pip/_internal/commands/cache.py +++ b/src/pip/_internal/commands/cache.py @@ -113,8 +113,8 @@ class CacheCommand(Command): ) message = textwrap.dedent(""" - HTTP files location: {http_cache_location} - HTTP files size: {http_cache_size} + Package index page cache location: {http_cache_location} + Package index page cache size: {http_cache_size} Number of HTTP files: {num_http_files} Wheels location: {wheels_cache_location} Wheels size: {wheels_cache_size} diff --git a/tests/functional/test_cache.py b/tests/functional/test_cache.py index a1ffd9090..872f55982 100644 --- a/tests/functional/test_cache.py +++ b/tests/functional/test_cache.py @@ -190,7 +190,10 @@ def test_cache_info( ): result = script.pip('cache', 'info') - assert 'HTTP files location: {}'.format(http_cache_dir) in result.stdout + assert ( + 'Package index page cache location: {}'.format(http_cache_dir) + in result.stdout + ) assert 'Wheels location: {}'.format(wheel_cache_dir) in result.stdout num_wheels = len(wheel_cache_files) assert 'Number of wheels: {}'.format(num_wheels) in result.stdout