class_docstr: Tests the gates with special drawing methods.
class_docstr_tok: ["Tests","the","gates","with","special","drawing","methods","."]
docstr: Test CNOT gets a special call
code: def test_CNOT(self):
      """Test CNOT gets a special call"""
  
      with qml.queuing.AnnotatedQueue() as q_tape:
          qml.CNOT(wires=(0, 1))
  
      tape = QuantumScript.from_queue(q_tape)
      _, ax = tape_mpl(tape)
      layer = 0
  
      assert len(ax.patches) == 2
      assert ax.patches[0].center == (layer, 0)
      assert ax.patches[1].center == (layer, 1)
  
      control_line = ax.lines[2]
      assert control_line.get_data() == ((layer, layer), (0, 1))
  
      assert len(ax.lines) == 5
      plt.close()
  
imports: import pytest
  import pennylane
  from pennylane.drawer import tape_mpl
  from pennylane.tape import QuantumScript
label_desc: Use image node_id 3 for calling the TestSpecialGates obj's underlying member method code with example usage: obj.test_CNOT() without return types