Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TST: fully parameterize test_lazy_linux_headless #22801

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 1 commit into from
May 18, 2022

Conversation

tacaswell
Copy link
Member

PR Summary

This test should run on more than just PyQt5.

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 Apr 8, 2022
Copy link
Member

@jklymak jklymak left a comment

Choose a reason for hiding this comment

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

This seems to work - I didn't check if the test time jumps a lot....

proc = _run_helper(_lazy_headless, timeout=_test_timeout, MPLBACKEND="")
@pytest.mark.parametrize("env", _get_testable_interactive_backends())
def test_lazy_linux_headless(env):
tests = []
Copy link
Member

Choose a reason for hiding this comment

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

This is always empty? The test does nothing...

Copy link
Member Author

Choose a reason for hiding this comment

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

🤦🏻 and it is broken in other ways. No-op tests do reliably pass!

@tacaswell tacaswell marked this pull request as draft April 9, 2022 16:55
@tacaswell tacaswell force-pushed the parameterize_lazy_headless_test branch from c11158d to 44e603e Compare April 9, 2022 17:04
@tacaswell tacaswell marked this pull request as ready for review April 9, 2022 17:04
@QuLogic QuLogic requested a review from jklymak April 13, 2022 09:15
@jklymak jklymak merged commit a4f62d4 into matplotlib:main May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.