class_docstr: Combination for Keras test mode.
  
  It by default includes v1_session, v2_eager and v2_tf_function.
class_docstr_tok: ["Combination","for","Keras","test","mode",".","It","by","default","includes","v1_session",",","v2_eager","and","v2_tf_function","."]
code: def context_managers(self, kwargs):
      run_eagerly = kwargs.pop("run_eagerly", None)
  
      if run_eagerly is not None:
          return [testing_utils.run_eagerly_scope(run_eagerly)]
      else:
          return []
  
file_path: tensorflow-upstream/tensorflow/python/keras/combinations.py
imports: import functools
  from tensorflow.python import tf2
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import test_combinations
  from tensorflow.python.keras import testing_utils
label_desc: Use image node_id 1 for calling the KerasModeCombination obj's underlying member method code with example usage: obj.context_managers(kwargs) and returns: list, list