class_docstr: Tests specific to the ControlledQubitUnitary operation
class_docstr_tok: ["Tests","specific","to","the","ControlledQubitUnitary","operation"]
docstr: Test if ControlledQubitUnitary raises an error if control wires are not specified
docstr_tok: ["Test","if","ControlledQubitUnitary","raises","an","error","if","control","wires","are","not","specified"]
code: def test_no_control(self):
      """Test if ControlledQubitUnitary raises an error if control wires are not specified"""
      with pytest.raises(
          TypeError,
          match="missing 1 required positional argument: 'control_wires'",
      ):
          qml.ControlledQubitUnitary(X, wires=2)
  
imports: import copy
  import numpy
  import pytest
  from scipy.linalg import fractional_matrix_power
  from scipy.sparse import csr_matrix
  from scipy.stats import unitary_group
  from gate_data import CY, CZ
  import pennylane
  from pennylane.wires import Wires
  from pennylane.operation import AnyWires
  from pennylane.ops.qubit.matrix_ops import QubitUnitary
label_desc: Use image node_id 2 for calling the TestControlledQubitUnitary obj's underlying member method code with example usage: obj.test_no_control() without return types