fix non-passing tests for logging on pytest > 3.3.0
fix non-passing tests for logging on pytest > 3.3.0

mitsuhiko/flask,fkazimierczak/flask,fkazimierczak/flask,drewja/flask,drewja/flask,drewja/flask,fkazimierczak/flask,pallets/flask,pallets/flask,mitsuhiko/flask,pallets/flask