call site 0 for io.StdCapture.done
io/test/test_stdcapture.py - line 86
82
83
84
85
86
87
88
   def test_stdin_restored(self):
       old = sys.stdin 
       cap = self.getcapture(in_=True)
       newstdin = sys.stdin 
->     out, err = cap.reset()
       assert newstdin != sys.stdin
       assert sys.stdin is old 
io/stdcapture.py - line 99
97
98
99
100
   def reset(self):
       """ return captured output as strings and restore sys.stdout/err."""
->     x, y = self.done() 
       return x.read(), y.read()