class_docstr: Tests for `drawable_layers`
class_docstr_tok: ["Tests","for","`","drawable_layers","`"]
docstr: Test measurements that act on all wires also block on all available wires.
docstr_tok: ["Test","measurements","that","act","on","all","wires","also","block","on","all","available","wires","."]
code: def test_all_wires_measurement(self, measurement):
      """Test measurements that act on all wires also block on all available wires."""
  
      ops = [qml.PauliX(0), measurement, qml.PauliY(1)]
  
      layers = drawable_layers(ops)
  
      assert layers == [[ops[0]], [ops[1]], [ops[2]]]
  
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 7 for calling the TestDrawableLayers obj's underlying member method code with example usage: obj.test_all_wires_measurement(measurement) without return types