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

Commit b57b94e

Browse filesBrowse files
committed
TST: force backend resolution in pyplot
1 parent 0c77b9a commit b57b94e
Copy full SHA for b57b94e

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎lib/matplotlib/tests/test_rcparams.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_rcparams.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,8 @@ def test_backend_fallback_headless(tmpdir):
497497
[sys.executable, "-c",
498498
"import matplotlib;"
499499
"matplotlib.use('tkagg');"
500-
"import matplotlib.pyplot"
500+
"import matplotlib.pyplot;"
501+
"matplotlib.pyplot.plot(42);"
501502
],
502503
env=env, check=True, stderr=subprocess.DEVNULL)
503504

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.