class_docstr: Tests the various changes from mid-circuit measurements.
class_docstr_tok: ["Tests","the","various","changes","from","mid-circuit","measurements","."]
docstr: Tests that MidMeasureMP is only supported with one wire.
docstr_tok: ["Tests","that","MidMeasureMP","is","only","supported","with","one","wire","."]
code: def test_cannot_draw_multi_wire_MidMeasureMP(self):
      """Tests that MidMeasureMP is only supported with one wire."""
      with pytest.raises(
          ValueError,
          match="mid-circuit measurements with more than one wire.",
      ):
          drawable_layers([MidMeasureMP([0, 1])])
  
imports: import pytest
  import pennylane
  from pennylane.measurements import MidMeasureMP
  from pennylane.queuing import AnnotatedQueue
  from pennylane.drawer.drawable_layers import _recursive_find_layer, _recursive_find_mcm_stats_layer, drawable_layers
label_desc: Use image node_id 2 for calling the TestMidMeasure obj's underlying member method code with example usage: obj.test_cannot_draw_multi_wire_MidMeasureMP() without return types