Skip filehandler test on windows - as that causes a permission-error
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user