'Restore sys.stderr/sys.stdout after tests.'

@pytest.fixture(autouse=True)
def restore_streams(self):

    old_stdout = sys.stdout
    old_stderr = sys.stderr
    (yield)
    sys.stdout = old_stdout
    sys.stderr = old_stderr
