docstr: Tests that copied nonparametrized ops function as expected
docstr_tok: ["Tests","that","copied","nonparametrized","ops","function","as","expected"]
code: def test_nonparametrized_op_copy(self, op_cls, _, subspace, tol):
      """Tests that copied nonparametrized ops function as expected"""
      op = (
          op_cls(wires=range(op_cls.num_wires))
          if subspace is None
          else op_cls(wires=range(op_cls.num_wires), subspace=subspace)
      )
      copied_op = copy.copy(op)
      np.testing.assert_allclose(
          op.matrix(), copied_op.matrix(), atol=tol
      )
  
imports: import copy
  import pytest
  import numpy
  from gate_data import TSHIFT, TCLOCK, TADD, TSWAP, TH
  import pennylane
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TestOperations obj's underlying member method code with example usage: obj.test_nonparametrized_op_copy(op_cls, _, subspace, tol) without return types