code: def test_class_definition_isolates_method_writes(self):
      def test_fn(a, b, c):
          class C(a(b)):
              d = 1
  
              def e(self):
                  f = c + 1
                  return f
  
          return C
  
      node, _ = self._parse_and_analyze(test_fn)
      fn_node = node
      body_scope = anno.getanno(fn_node, NodeAnno.BODY_SCOPE)
      self.assertScopeIs(body_scope, ("a", "b", "C", "c"), ("C",))
  
imports: import unittest
  import gast
  from nvidia.dali._autograph.pyct import anno
  from nvidia.dali._autograph.pyct import naming
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import qual_names
  from nvidia.dali._autograph.pyct import transformer
  from nvidia.dali._autograph.pyct.static_analysis import activity
  from nvidia.dali._autograph.pyct.static_analysis import annos
label_desc: Use image node_id 40 for calling the ActivityAnalyzerTest obj's underlying member method code with example usage: obj.test_class_definition_isolates_method_writes() and returns: C, f