class_docstr: Context manager for forcing _isatty to True - used for tests.
class_docstr_tok: ["Context","manager","for","forcing","_isatty","to","True","-","used","for","tests","."]
code: def __enter__(self):
      self._saved = _isatty
      globals()["_isatty"] = True
  
imports: import logging
  import logging.config
  import os
  import sys
  from guild import ansi_util
label_desc: Use image node_id 1 for calling the _FakeTTY obj's underlying member method code with example usage: obj.__enter__() without return types