class_docstr: Tests for drawing mid-circuit measurements and classical conditions.
docstr: Test that a circuit with a single classical condition and a single measurement
  is drawn correctly.
docstr_tok: ["Test","that","a","circuit","with","a","single","classical","condition","and","a","single","measurement","is","drawn","correctly","."]
code: def test_single_meas_single_cond(self):
      """Test that a circuit with a single classical condition and a single measurement
      is drawn correctly."""
  
      def circ(phi):
          qml.RX(phi, 0)
          m0 = qml.measure(0)
          qml.cond(m0, qml.PauliX)(wires=1)
  
      drawing = qml.draw(circ)(np.pi)
      expected_drawing = "0: ──RX(3.14)──┤↗├────┤  \n1: ─────────────║───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 4 for calling the TestMidCircuitMeasurements obj's underlying member method code with example usage: obj.test_single_meas_single_cond() without return types