From d131f1c513d7c46017f1ab159ac8e371d609f5b4 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 28 Mar 2024 22:13:09 +0200 Subject: [PATCH] Clarify comments --- Tests/helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/helper.py b/Tests/helper.py index dacce3fb9..8baaf4c42 100644 --- a/Tests/helper.py +++ b/Tests/helper.py @@ -252,8 +252,8 @@ def tostring(im: Image.Image, string_format: str, **options: Any) -> bytes: def hopper(mode: str | None = None) -> Image.Image: - # Use caching to reduce reading from disk but so an original copy is - # returned each time and the cached image isn't modified by tests + # Use caching to reduce reading from disk, but return a copy + # so that the cached image isn't modified by the tests # (for fast, isolated, repeatable tests). return _cached_hopper(mode).copy()