class_docstr: Test operations are placed in the correct locations.
docstr: Test single qubit gates on same wire line up.
docstr_tok: ["Test","single","qubit","gates","on","same","wire","line","up","."]
code: def test_blocking_ops(self):
      """Test single qubit gates on same wire line up."""
  
      with qml.queuing.AnnotatedQueue() as q:
          qml.PauliX(0)
          qml.PauliX(0)
          qml.PauliX(0)
  
      _tape = qml.tape.QuantumScript.from_queue(q)
      assert tape_text(_tape) == "0: ──X──X──X─┤  "
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.drawer import tape_text
  from pennylane.drawer.tape_text import _add_grouping_symbols, _add_cond_grouping_symbols, _add_mid_measure_grouping_symbols, _add_cwire_measurement_grouping_symbols, _add_cwire_measurement, _add_measurement, _add_op, _Config
  from pennylane.tape import QuantumScript, QuantumTape
label_desc: Use image node_id 2 for calling the TestLayering obj's underlying member method code with example usage: obj.test_blocking_ops() without return types