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

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy