-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
TST: Simplify and clarify test skipping #56027
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
Changes from 3 commits
2dd3e84
ea23aa5
8a4e1c1
7d1c86a
9fe92b0
c6e86df
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. Very slight. e.g. when running |
||
def test_no_matplotlib_ok(): | ||
msg = ( | ||
'matplotlib is required for plotting when the default backend "matplotlib" is ' | ||
|
Uh oh!
There was an error while loading. Please reload this page.