I can't think of a way to test that aside from changing `summary` to use `sys.stdout` along with the signature to allow `StringIO` to be injected, or mocking `print`. I don't see the value in either of these because the underlying functions that produce the output are tested directly, so these wouldn't be doing aside from testing the print calls.