class_docstr: Utility class to create temporary Python/IPython files.
  
  Meant as a mixin class for test cases.
class_docstr_tok: ["Utility","class","to","create","temporary","Python\/IPython","files",".","Meant","as","a","mixin","class","for","test","cases","."]
code: def __exit__(self, exc_type, exc_value, traceback):
      self.tearDown()
  
imports: import os
  from pathlib import Path
  import re
  import sys
  import tempfile
  import unittest
  from contextlib import contextmanager
  from io import StringIO
  from subprocess import Popen, PIPE
  from unittest.mock import patch
  from traitlets.config.loader import Config
  from IPython.utils.process import get_output_error_code
  from IPython.utils.text import list_strings
  from IPython.utils.io import temp_pyfile, Tee
  from IPython.utils import py3compat
  from .None import decorators
  from .None import skipdoctest
label_desc: Use image node_id 4 for calling the TempFileMixin obj's underlying member method code with example usage: obj.__exit__(exc_type, exc_value, traceback) without return types