We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e9798f + 6fd1ea3 commit 7b3ac93Copy full SHA for 7b3ac93
lib/matplotlib/tests/test_rcparams.py
@@ -481,11 +481,11 @@ def test_backend_fallback_headless(tmpdir):
481
with pytest.raises(subprocess.CalledProcessError):
482
subprocess.run(
483
[sys.executable, "-c",
484
- ("import matplotlib;" +
485
- "matplotlib.use('tkagg');" +
486
- "import matplotlib.pyplot")
+ "import matplotlib;"
+ "matplotlib.use('tkagg');"
+ "import matplotlib.pyplot"
487
],
488
- env=env, check=True)
+ env=env, check=True, stderr=subprocess.DEVNULL)
489
490
491
@pytest.mark.skipif(
0 commit comments