code: def test_merge_from(self):
      scope = activity.Scope(None)
      other = activity.Scope(None)
  
      for col in (
          scope.modified,
          scope.read,
          scope.bound,
          scope.deleted,
      ):
          col.add(QN("foo"))
  
      for col in (
          other.modified,
          other.read,
          other.bound,
          other.deleted,
      ):
          col.add(QN("foo"))
          col.add(QN("bar"))
  
      scope.merge_from(other)
  
      self.assertReadWrite(QN("foo"), scope)
      self.assertReadWrite(QN("bar"), scope)
      self.assertIn(QN("foo"), scope.bound)
      self.assertIn(QN("bar"), scope.bound)
      self.assertIn(QN("foo"), scope.deleted)
      self.assertIn(QN("bar"), scope.deleted)
  
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 6 for calling the ScopeTest obj's underlying member method code with example usage: obj.test_merge_from() without return types