Store the value from stdout. It is meant to hold the stdout at the time the regrtest began.
test.support/record_original_stdout
record_original_stdout