diff --git a/src/pip/_internal/utils/temp_dir.py b/src/pip/_internal/utils/temp_dir.py index ae8591ec83d..99d1ba834ef 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, onexc=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, )