Skip to content

Commit

Permalink
Textual: "locally built" rather than "built"
Browse files Browse the repository at this point in the history
As per @sbidoul's remark
  • Loading branch information
vanschelven committed Jul 26, 2022
1 parent d57c5dd commit 80c3b96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/pip/_internal/commands/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ def get_cache_info(self, options: Values, args: List[Any]) -> None:
Package index page cache location: {http_cache_location}
Package index page cache size: {http_cache_size}
Number of HTTP files: {num_http_files}
Built wheels location: {wheels_cache_location}
Built wheels size: {wheels_cache_size}
Number of built wheels: {package_count}
Locally built wheels location: {wheels_cache_location}
Locally built wheels size: {wheels_cache_size}
Number of locally built wheels: {package_count}
"""
)
.format(
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ def test_cache_info(
result = script.pip("cache", "info")

assert f"Package index page cache location: {http_cache_dir}" in result.stdout
assert f"Built wheels location: {wheel_cache_dir}" in result.stdout
assert f"Locally built wheels location: {wheel_cache_dir}" in result.stdout
num_wheels = len(wheel_cache_files)
assert f"Number of built wheels: {num_wheels}" in result.stdout
assert f"Number of locally built wheels: {num_wheels}" in result.stdout


@pytest.mark.usefixtures("populate_wheel_cache")
Expand Down

0 comments on commit 80c3b96

Please sign in to comment.