class_docstr: Test dunder and other visualizing methods.
class_docstr_tok: ["Test","dunder","and","other","visualizing","methods","."]
docstr: Test __copy__ method.
docstr_tok: ["Test","__copy__","method","."]
code: def test_copy(self, ops_lst):
      """Test __copy__ method."""
      op = ValidOp(*ops_lst)
      copied_op = copy(op)
  
      assert op.id == copied_op.id
      assert op.data == copied_op.data
      assert op.wires == copied_op.wires
  
      for o1, o2 in zip(op.operands, copied_op.operands):
          assert qml.equal(o1, o2)
          assert o1 is not o2
  
imports: from copy import copy
  import numpy
  import pytest
  import pennylane
  from pennylane.operation import DecompositionUndefinedError
  from pennylane.ops.op_math import CompositeOp, Prod, Sum, SProd
  from pennylane.wires import Wires
label_desc: Use image node_id 4 for calling the TestMscMethods obj's underlying member method code with example usage: obj.test_copy(ops_lst) without return types