Silence warning logging while running tests that can produce errors
Merge pull request #1473 from mstorsjo/silence-test-warnings

Silence warning logging while running tests that can produce errors