class_docstr: Tests for `drawable_layers`
class_docstr_tok: ["Tests","for","`","drawable_layers","`"]
docstr: Test single wire gates blocking each other
docstr_tok: ["Test","single","wire","gates","blocking","each","other"]
code: def test_single_wires_blocking(self):
      """Test single wire gates blocking each other"""
  
      ops = [qml.PauliX(0), qml.PauliX(0), qml.PauliX(0)]
  
      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 2 for calling the TestDrawableLayers obj's underlying member method code with example usage: obj.test_single_wires_blocking() without return types