Skip to content

Commit d131f1c

Browse files
committed
Clarify comments
1 parent 504a2e1 commit d131f1c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tests/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ def tostring(im: Image.Image, string_format: str, **options: Any) -> bytes:
252252

253253

254254
def hopper(mode: str | None = None) -> Image.Image:
255-
# Use caching to reduce reading from disk but so an original copy is
256-
# returned each time and the cached image isn't modified by tests
255+
# Use caching to reduce reading from disk, but return a copy
256+
# so that the cached image isn't modified by the tests
257257
# (for fast, isolated, repeatable tests).
258258
return _cached_hopper(mode).copy()
259259

0 commit comments

Comments
 (0)