Silence doc test errors/warnings

The doc tests print a lot of warnings/errors to the console when running the test suite.  This silences those errors, but will still fail if exceptions are raised during the build.

Reviewer: @jzoldak