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 76890ef commit d279da0Copy full SHA for d279da0
tests/test_config.py
@@ -703,10 +703,8 @@ def test_config_precedence():
703
assert cfg(f=LOCAL)['pytest']['precedence'] == 'local'
704
705
706
-@pytest.mark.skipif(
707
- WINDOWS or (os.geteuid() == 0),
708
- reason="Non-readable files do not exist on Windows, and root user can always read files",
709
-)
+@pytest.mark.skipif(WINDOWS, reason="Non-readable files do not exist on Windows")
+@pytest.mark.skipif(os.geteuid() == 0, reason="root user can always read files",)
710
def test_config_non_readable_file(config_tmpdir):
711
# test to read a config file without read permission
712
cwd = pathlib.Path.cwd()
0 commit comments