Skip to content

Fix typos in test comments#9626

Closed
mokashang wants to merge 1 commit into
python-pillow:mainfrom
mokashang:fix/test-comment-typos
Closed

Fix typos in test comments#9626
mokashang wants to merge 1 commit into
python-pillow:mainfrom
mokashang:fix/test-comment-typos

Conversation

@mokashang
Copy link
Copy Markdown
Contributor

Two small typo fixes in test file comments:

  • mmapedmmapped in Tests/test_file_tiff.py and Tests/test_image.py (the past tense of mmap).
  • co-ordinatescoordinates in Tests/test_imagefont.py, matching the unhyphenated spelling already used throughout src/PIL/ and the other test modules.

Only comments are touched; no runtime behavior changes.

- mmaped -> mmapped (Tests/test_file_tiff.py, Tests/test_image.py)
- co-ordinates -> coordinates (Tests/test_imagefont.py), matching the
  spelling already used everywhere else in the codebase

[ci skip]
@aclark4life aclark4life added the 🤖-assisted AI-assisted label May 13, 2026
@radarhere
Copy link
Copy Markdown
Member

mmapedmmapped ... (the past tense of mmap)

What makes you say this? I mean, mmap is a name, but I'm not convinced that it has an official past sense. See https://blog.essence.dev/p/are-you-sure-you-want-to-use-mmap for an example of 'mmaped'.

@aclark4life how can you tell that this was AI assisted?

@radarhere
Copy link
Copy Markdown
Member

I've created #9628 for just the 'coordinates' suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖-assisted AI-assisted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants