-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
TST: Simplify and clarify test skipping #56027
Conversation
@@ -80,7 +80,7 @@ def test_setting_backend_without_plot_raises(monkeypatch): | |||
assert pandas.options.plotting.backend == "matplotlib" | |||
|
|||
|
|||
@td.skip_if_mpl | |||
@td.skip_if_installed("matplotlib") |
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.
is there any perf impact of evaluating these once vs in a bunch of places?
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.
Very slight. e.g. when running test_eval.py
with skip_if_no_ne
replaced locally I'm getting a runtime of 26.86s on this PR vs 26.69s on main. IMO I think this timing difference is OK given the cleanup
One question, otherwise LGTM |
No description provided.