This should fix the tests on Windows. See https://bitbucket.org/memedough/pytest-capturelog/issues/7/