Skip to content

Commit b57b94e

Browse files
committed
TST: force backend resolution in pyplot
1 parent 0c77b9a commit b57b94e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tests/test_rcparams.py

+2-1
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)