Searched refs:stream_name (Results 1 – 1 of 1) sorted by relevance
816 def captured_output(stream_name): argument820 orig_stdout = getattr(sys, stream_name)821 setattr(sys, stream_name, StringIO.StringIO())823 yield getattr(sys, stream_name)825 setattr(sys, stream_name, orig_stdout)