code: def __exit__(self, *args):
      self.extend(self._stringio.getvalue().splitlines())
      del self._stringio
      sys.stdout = self._stdout
  
file_path: evalplus/tools/tsr/coverage_init.py
imports: import os
  import pickle
  import sys
  from importlib import import_module
  from io import StringIO
  from typing import Any, Dict, List
  import coverage
  from rich.progress import track
  from evalplus.eval.utils import swallow_io
  from tools.tsr.utils import get_problems, get_task_ids, to_path
label_desc: Use image node_id 2 for calling the Capturing obj's underlying member method code with example usage: obj.__exit__() without return types