Thanks to visit codestin.com Credit goes to github.com
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.
1 parent e6fd901 commit 6fd1ea3Copy full SHA for 6fd1ea3
1 file changed
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