class_docstr: Tests for drawing mid-circuit measurements and classical conditions.
docstr: Test that a circuit is when multiple lines are needed and the measurement
  and condition are on the same lines after the first line.
docstr_tok: ["Test","that","a","circuit","is","when","multiple","lines","are","needed","and","the","measurement","and","condition","are","on","the","same","lines","after","the","first","line","."]
code: def test_single_meas_multi_cond_new_line(self):
      """Test that a circuit is when multiple lines are needed and the measurement
      and condition are on the same lines after the first line."""
  
      def circ():
          qml.RX(0.0, 0)
          qml.RX(0.0, 0)
          m0 = qml.measure(0)
          qml.cond(m0, qml.PauliX)(1)
          qml.cond(m0, qml.PauliX)(1)
          return qml.expval(qml.PauliZ(0))
  
      drawing = qml.draw(circ, max_length=25)()
      expected_drawing = (
          "0: ──RX(0.00)──RX(0.00)\n"
          "1: ────────────────────\n"
          "                       \n\n"
          "───┤↗├───────┤  <Z>\n"
          "────║───X──X─┤     \n"
          "    ╚═══╩══╝       "
      )
  
      assert drawing == expected_drawing
  
imports: from functools import partial
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.drawer import draw
label_desc: Use image node_id 11 for calling the TestMidCircuitMeasurements obj's underlying member method code with example usage: obj.test_single_meas_multi_cond_new_line() and returns: qml