Skip filehandler test on windows - as that causes a permission-error

This commit is contained in:
Matthias 2020-11-25 15:10:17 +01:00
parent b9980330a5
commit 46389e343b

View File

@ -685,6 +685,7 @@ def test_set_loggers_syslog():
logger.handlers = orig_handlers
@pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows")
def test_set_loggers_Filehandler(tmpdir):
logger = logging.getLogger()
orig_handlers = logger.handlers