docstr: Test that an error is raised if the wires of the base
  operator and the control wires overlap
docstr_tok: ["Test","that","an","error","is","raised","if","the","wires","of","the","base","operator","and","the","control","wires","overlap"]
code: def test_overlapping_wires_error(self):
      """Test that an error is raised if the wires of the base
      operator and the control wires overlap"""
  
      base = qml.PauliX(1)
      control = [0, 1, 2]
  
      with pytest.raises(
          ValueError,
          match="The control wires must be different from the base operation wires.",
      ):
          _ = qml.ControlledSequence(base, control)
  
imports: import pytest
  import numpy
  from pennylane import numpy
  import pennylane
  from pennylane.wires import Wires
label_desc: Use image node_id 3 for calling the TestInitialization obj's underlying member method code with example usage: obj.test_overlapping_wires_error() without return types