class_docstr: Base TestCase for running tests inside the given contexts.
  
  It ensures that all contexts are entered before any test starts and are exited
  upon all tests completion.
docstr: Returns a list of context managers automatically applied to all tests.
docstr_tok: ["Returns","a","list","of","context","managers","automatically","applied","to","all","tests","."]
code: def _context_managers(cls) -> Sequence[ContextManager[Any]]:
      """Returns a list of context managers automatically applied to all tests."""
      raise NotImplementedError
  
file_path: datasets/tensorflow_datasets/testing/test_case_in_context.py
imports: from collections.abc import Sequence
  import contextlib
  from typing import Any, ContextManager
  import unittest
label_desc: Use image node_id 1 for calling the TestCaseInContext obj's underlying member method code with example usage: obj._context_managers(cls) without return types