class_docstr: Test case for copying a node.
class_docstr_tok: ["Test","case","for","copying","a","node","."]
docstr: Test that the optional nodes of the node data are copied.
docstr_tok: ["Test","that","the","optional","nodes","of","the","node","data","are","copied","."]
code: def test_node_data_optional_nodes_are_copies(self):
      """Test that the optional nodes of the node data are copied."""
      for req1, req2 in zip(
          self.node.optional_nodes, self.node_copy.optional_nodes
      ):
          assert req1 is not req2
  
file_path: satpy/satpy/tests/test_node.py
imports: import unittest
  from unittest.mock import MagicMock
  from satpy.node import CompositorNode
label_desc: Use image node_id 4 for calling the TestCompositorNodeCopy obj's underlying member method code with example usage: obj.test_node_data_optional_nodes_are_copies() without return types