8000 made f2tfont error message explicit that it needs path to file by story645 · Pull Request #24415 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

made f2tfont error message explicit that it needs path to file #24415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 10, 2022

Conversation

story645
Copy link
Member

Per conversation on gitter, I was trying to add fonts and thought I could pass in the path to the folder of fonts cause the docs say path, so I wanted to make it a bit clearer that path means path to file.

@ksunden
Copy link
Member
ksunden commented Nov 10, 2022

tests match against that portion of the error message, so tests also need to be updated

@story645
Copy link
Member Author

:/ ugh I only checked the f2tfont tests and I guess not carefully enough 😖

Co-authored-by: Kyle Sunden <git@ksunden.space>
@ksunden
Copy link
Member
ksunden commented Nov 10, 2022

One more: lib/matplotlib/tests/test_font_manager.py::test_find_invalid

Edit: Ah, must of looked at an old CI run... because that is in fact the one you fixed up

Double edit: it is in fact still that test that is erroring, missing a

Co-authored-by: Kyle Sunden <git@ksunden.space>
@story645
Copy link
Member Author

this is why coding while 😪 is uh not the best idea - thanks for your patience/help here!

@QuLogic QuLogic added this to the v3.7.0 milestone Nov 10, 2022
@ksunden ksunden merged commit df761c9 into matplotlib:main Nov 10, 2022
@story645 story645 deleted the ft2err branch November 15, 2022 21:19
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.

3 participants
0