Skip to content
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

FIX: make sure addFont test removes the test font #23342

Merged
merged 2 commits into from
Jun 24, 2022

Conversation

tacaswell
Copy link
Member

PR Summary

This should fix the intermittent failures on CI.

The issue is that the test test_addfont_as_path was adding an extra font (on top of what we normally discover). When the test are run in parallel it random if this test and test_get_font_names run on the same worker or not.

PR Checklist

Tests and Styling

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

@tacaswell tacaswell added this to the v3.6.0 milestone Jun 24, 2022
Copy link
Member

@QuLogic QuLogic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good.

lib/matplotlib/tests/test_font_manager.py Outdated Show resolved Hide resolved
lib/matplotlib/tests/test_font_manager.py Outdated Show resolved Hide resolved
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
@tacaswell
Copy link
Member Author

I intend to self-merge this on just @QuLogic 's review when CI passes to unbreak the rest of our CI.

@QuLogic QuLogic merged commit 1341ad5 into matplotlib:main Jun 24, 2022
@tacaswell tacaswell deleted the fix/font_list branch June 25, 2022 00:13
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.

2 participants