Skip to content

Commit 0652a2f

Browse files
committed
Rename to 'Package index page cache location'
1 parent d45ba65 commit 0652a2f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/pip/_internal/commands/cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ def get_cache_info(self, options, args):
113113
)
114114

115115
message = textwrap.dedent("""
116-
HTTP files location: {http_cache_location}
117-
HTTP files size: {http_cache_size}
116+
Package index page cache location: {http_cache_location}
117+
Package index page cache size: {http_cache_size}
118118
Number of HTTP files: {num_http_files}
119119
Wheels location: {wheels_cache_location}
120120
Wheels size: {wheels_cache_size}

tests/functional/test_cache.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,10 @@ def test_cache_info(
190190
):
191191
result = script.pip('cache', 'info')
192192

193-
assert 'HTTP files location: {}'.format(http_cache_dir) in result.stdout
193+
assert (
194+
'Package index page cache location: {}'.format(http_cache_dir)
195+
in result.stdout
196+
)
194197
assert 'Wheels location: {}'.format(wheel_cache_dir) in result.stdout
195198
num_wheels = len(wheel_cache_files)
196199
assert 'Number of wheels: {}'.format(num_wheels) in result.stdout

0 commit comments

Comments
 (0)