I'm not familiar with what stream(s) are tested in this, but it'd be nice to do a ``StringIO`` in addition to ``sys.stdout`` (if it's not there), just to ensure the optional ``stream=`` portion of the change works.