class_docstr: Tests for `drawable_layers`
class_docstr_tok: ["Tests","for","`","drawable_layers","`"]
docstr: Test the wirecut blocking operators
docstr_tok: ["Test","the","wirecut","blocking","operators"]
code: def test_wirecut_block(self):
      """Test the wirecut blocking operators"""
  
      ops = [qml.PauliX(0), qml.WireCut(wires=[0, 1]), qml.PauliX(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 5 for calling the TestDrawableLayers obj's underlying member method code with example usage: obj.test_wirecut_block() without return types