diff --git a/src/pip/_internal/utils/temp_dir.py b/src/pip/_internal/utils/temp_dir.py index 0ddc44ed5aa..5ee7b55b199 100644 --- a/src/pip/_internal/utils/temp_dir.py +++ b/src/pip/_internal/utils/temp_dir.py @@ -214,7 +214,7 @@ def onerror( rmtree(self._path, onerror=onerror) if errors: logger.warning( - "Failed to remove contents of a temporary directory '%s'.\n" + "Failed to remove contents in a temporary directory '%s'.\n" "You can safely remove it manually.", self._path, )