Part of lp.testing.systemdocs View In Hierarchy
This causes log messages to become part of the output captured by doctest, making the test cover the logging behaviour of the code being run.