code: def test_copy_of(self):
      scope = activity.Scope(None)
      scope.read.add(QN("foo"))
      other = activity.Scope.copy_of(scope)
  
      self.assertReadOnly(QN("foo"), other)
  
      child_scope = activity.Scope(scope)
      child_scope.read.add(QN("bar"))
      other = activity.Scope.copy_of(child_scope)
  
      self.assertReadOnly(QN("bar"), other)
  
imports: import gast
  from tensorflow.python.autograph.pyct import anno
  from tensorflow.python.autograph.pyct import naming
  from tensorflow.python.autograph.pyct import parser
  from tensorflow.python.autograph.pyct import qual_names
  from tensorflow.python.autograph.pyct import transformer
  from tensorflow.python.autograph.pyct.static_analysis import activity
  from tensorflow.python.autograph.pyct.static_analysis import annos
  from tensorflow.python.platform import test
label_desc: Use image node_id 7 for calling the ScopeTest obj's underlying member method code with example usage: obj.test_copy_of() without return types