call site 5 for io.StdCapture.reset
log/testing/test_log.py - line 110
108
109
110
111
112
   def test_log_stderr(self):
       py.log.setconsumer("default", py.log.STDERR) 
->     res, out, err = callcapture(py.log.default, "hello")
       assert not out
       assert err.strip() == '[default] hello'
io/stdcapture.py - line 20
9
10
11
12
13
14
15
16
17
18
19
20
21
   def call(cls, func, *args, **kwargs): 
       """ return a (res, out, err) tuple where
               out and err represent the output/error output
               during function execution. 
               call the given function with args/kwargs
               and capture output/error during its execution. 
           """ 
       so = cls()
       try: 
           res = func(*args, **kwargs)
       finally: 
->         out, err = so.reset()
       return res, out, err