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
MNT: helper function for checking for presence of fonts in tests #27983
Comments
I think we can close this with no action because
|
|
I think @timhoffm's solution of testing helper works #28028 (comment) |
I still think we should close this with no-action. If we need such a helper in the tests, then we should write it when we need it. Having an unused helper around does not do any good and going through and adding code-churn to the tests just seems like unneeded work. I do not think that returning a font or None is the best API here. It does let you do things like
so it makes sense for something like If you want to run your own fallback you can write it like
Returning
so the source of the problem is well away from where the traceback will point you. |
As mentioned in #27121, some of the tests could be cleaned up if there was a function to check for the presence of fonts.
Originally posted by @anntzer in #27128 (comment)
The text was updated successfully, but these errors were encountered: