Skip filehandler test on windows - as that causes a permission-error
This commit is contained in:
parent
b9980330a5
commit
46389e343b
@ -685,6 +685,7 @@ def test_set_loggers_syslog():
|
|||||||
logger.handlers = orig_handlers
|
logger.handlers = orig_handlers
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows")
|
||||||
def test_set_loggers_Filehandler(tmpdir):
|
def test_set_loggers_Filehandler(tmpdir):
|
||||||
logger = logging.getLogger()
|
logger = logging.getLogger()
|
||||||
orig_handlers = logger.handlers
|
orig_handlers = logger.handlers
|
||||||
|
Loading…
Reference in New Issue
Block a user