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 21c3acb commit ffc9f1dCopy full SHA for ffc9f1d
lib/matplotlib/tests/test_matplotlib.py
@@ -9,6 +9,8 @@
9
10
@pytest.mark.skipif(
11
os.name == "nt", reason="chmod() doesn't work as is on Windows")
12
+@pytest.mark.skipif(os.name != "nt" and os.geteuid() == 0,
13
+ reason="chmod() doesn't work as root")
14
def test_tmpconfigdir_warning(tmpdir):
15
"""Test that a warning is emitted if a temporary configdir must be used."""
16
mode = os.stat(tmpdir).st_mode
0 commit comments