FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TST: Remove redundant font tests by QuLogic · Pull Request #30513 · matplotlib/matplotlib · GitHub

Repository navigation

TST: Remove redundant font tests - #30513

Merged
QuLogic merged 1 commit into
matplotlib:text-overhaulfrom
QuLogic:redundant-font-tests
Mar 26, 2026
Merged

QuLogic merged 1 commit into
matplotlib:text-overhaulfrom
QuLogic:redundant-font-tests

Conversation

QuLogic commented Sep 4, 2025

Copy link
Copy Markdown
Member

PR summary

I extracted this out of #30512 because it was causing issues with the pre-loading of test images. I may update this as/when I find more redundant tests.

  • test_backend_ps::test_type3_font is covered by test_backend_ps::test_multi_font_type3
  • test_text::test_pdf_chars_beyond_bmp is covered by test_backend_pdf::test_multi_font_type3 and test_backend_pdf::test_multi_font_type42
  • test_text::test_pdf_kerning is covered by test_backend_pdf::test_kerning
  • test_text::test_pdf_type42_kerning is covered by test_backend_pdf::test_kerning

PR checklist

- `test_backend_ps::test_type3_font` is covered by
  `test_backend_ps::test_multi_font_type3`
- `test_text::test_pdf_chars_beyond_bmp` is covered by
  `test_backend_pdf::test_multi_font_type3` and
  `test_backend_pdf::test_multi_font_type42`
- `test_text::test_pdf_kerning` is covered by
  `test_backend_pdf::test_kerning`
- `test_text::test_pdf_type42_kerning` is covered by
  `test_backend_pdf::test_kerning`
QuLogic force-pushed the redundant-font-tests branch from b7f089c to 9d23373 Compare March 2, 2026 15:49
QuLogic marked this pull request as ready for review March 2, 2026 15:49
QuLogic moved this from Waiting for other PR to Ready for Review in Font and text overhaul Mar 2, 2026

QuLogic commented Mar 2, 2026

Copy link
Copy Markdown
Member Author

Unfortunately, the pre-loading of images doesn't handle this side having deleted the image, but I think this PR can be confirmed to be okay by hand.

QuLogic commented Mar 6, 2026

Copy link
Copy Markdown
Member Author

Since this may or may not cause conflicts with the preload, going to wait to merge this one until the last minute.

QuLogic commented Mar 26, 2026

Copy link
Copy Markdown
Member Author

I ran some tests locally and there shouldn't be any conflicts with the image preloading, so long as it's rebased on top of this, so I'll merge it now.

QuLogic merged commit 3a9a111 into matplotlib:text-overhaul Mar 26, 2026
21 of 33 checks passed
github-project-automation Bot moved this from Ready for Review to Done in Font and text overhaul Mar 26, 2026
QuLogic deleted the redundant-font-tests branch March 26, 2026 02:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL