Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Get Mathtext\times
symbol fromcmsy10
when usingcmr10
.#23702
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
One may consider a test. but I cannot really tell what would be the simplest test as a normaltext
with `\times' does already work.
I think testing this isn't straightforward, since the missing multiplication sign logs a warning, but doesn't raise a user warning. (Otherwise, something similar to#20235 could be used to detect it.) One thing I missed: |
Perhapshttps://docs.pytest.org/en/7.1.x/how-to/logging.html#caplog-fixture can help. |
I was more thinking about testing that the multiplication sign shows up (instead of ¤), rather than the warning thing. |
ba3891d
to077ea7c
Comparetfpf commentedAug 22, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I think this would require an image comparison test? I could add it if required. |
Uh oh!
There was an error while loading.Please reload this page.
Strange. How did the code coverage decrease. There are no uncovered lines reported in the diff. |
I do not really understand how that test works, but it does fail from time to time, so no worries about it. (Except for maybe people not reviewing as the build "fails" anyway...) |
48192cc
tof53301d
Compare
PR Summary
Fixes#10029.
I felt that having all glyph fixes in the same place would result in cleaner code. This will also be easy to extend if, in the future, we plan to add more glyph substitutions.
PR Checklist
Tests and Styling
pytest
passes).flake8-docstrings
and runflake8 --docstring-convention=all
).Documentation
doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).