code: def testSettingSessionTakesPrecedenceOverDefaultSession(self):
      session_user = MySessionUser()
      with self.cached_session() as test_session:
          session = tf.compat.v1.Session()
          self.assertIsNot(test_session, session)
          self.assertIs(session_user.session, test_session)
          session_user.session = session
          self.assertIs(session_user.session, session)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from tf_agents.utils import session_utils
label_desc: Use image node_id 9 for calling the TfRunnableTest obj's underlying member method code with example usage: obj.testSettingSessionTakesPrecedenceOverDefaultSession() without return types