Skip to content

Replace custom test code - #9858

Open
hugovk wants to merge 3 commits into
python-pillow:mainfrom
hugovk:stdlib-test
Open

Replace custom test code#9858
hugovk wants to merge 3 commits into
python-pillow:mainfrom
hugovk:stdlib-test

Conversation

@hugovk

@hugovk hugovk commented Aug 9, 2026

Copy link
Copy Markdown
Member
  • Replace CachedProperty with functools.cached_property
  • Replace assert_tuple_approx_equal with pytest.approx
  • Replace Python 2's hasattr(sys, "pypy_version_info") with more clearer sys.implementation.name == "pypy"

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant