class_docstr: Tests drawing circuits with mid-circuit measurements and conditional
  operations that have been transformed
docstr: Test that drawing a func with mid-circuit measurements works and
  that controlled operations are drawn for conditional operations when
  the measured wires are not reused.
docstr_tok: ["Test","that","drawing","a","func","with","mid-circuit","measurements","works","and","that","controlled","operations","are","drawn","for","conditional","operations","when","the","measured","wires","are","not","reused","."]
code: def test_drawing_no_reuse(self):
      """Test that drawing a func with mid-circuit measurements works and
      that controlled operations are drawn for conditional operations when
      the measured wires are not reused."""
  
      # TODO: Update after drawing for mid-circuit measurements is updated.
  
      def qfunc():
          m_0 = qml.measure(0)
          qml.cond(m_0, qml.RY)(0.312, wires=1)
  
          m_2 = qml.measure(2)
          qml.cond(m_2, qml.RY)(0.312, wires=1)
          return qml.expval(qml.PauliZ(1))
  
      dev = qml.device("default.qubit", wires=4)
  
      transformed_qfunc = qml.transforms.defer_measurements(qfunc)
      transformed_qnode = qml.QNode(transformed_qfunc, dev)
  
      expected = (
          "0: ─╭●──────────────────┤     \n"
          "1: ─╰RY(0.31)─╭RY(0.31)─┤  <Z>\n"
          "2: ───────────╰●────────┤     "
      )
      assert qml.draw(transformed_qnode)() == expected
  
imports: import math
  import pytest
  import pennylane
  from pennylane.measurements import MidMeasureMP, MeasurementValue
  import pennylane.numpy
  from pennylane.devices import DefaultQubit
label_desc: Use image node_id 1 for calling the TestDrawing obj's underlying member method code with example usage: obj.test_drawing_no_reuse() and returns: qml