code: def test_no_tf_dep(self):
      # Check as a precondition that TF wasn't already imported.
      self.assertEqual(
          "notfound", sys.modules.get("tensorflow", "notfound")
      )
      # Check that referencing summary API symbols still avoids a TF import
      # as long as we don't actually invoke any API functions.
      for module in (tb_summary, tb_summary_v1, tb_summary_v2):
          print(dir(module))
          print(module.scalar)
      self.assertEqual(
          "notfound", sys.modules.get("tensorflow", "notfound")
      )
  
imports: import collections.abc
  import sys
  import unittest
  import tensorboard.summary
  import tensorboard.summary.v1
  import tensorboard.summary.v2
label_desc: Use image node_id 1 for calling the SummaryDepTest obj's underlying member method code with example usage: obj.test_no_tf_dep() without return types