class_docstr: Test situations with nested tapes.
docstr: Test numbers consistent with multiple nested tapes and
  multiple levels of nesting.
docstr_tok: ["Test","numbers","consistent","with","multiple","nested","tapes","and","multiple","levels","of","nesting","."]
code: def test_multiple_nested_tapes(self):
      """Test numbers consistent with multiple nested tapes and
      multiple levels of nesting."""
  
      with QuantumTape() as _tape:
          qml.PauliX(0)
          with QuantumTape():
              qml.PauliY(0)
              qml.PauliZ(0)
              with QuantumTape():
                  qml.PauliX(0)
          with QuantumTape():
              qml.PauliY(0)
              with QuantumTape():
                  qml.PauliZ(0)
  
      expected = (
          "0: ──X──Tape:0──Tape:1─┤  \n"
          "\nTape:0\n"
          "0: ──Y──Z──Tape:2─┤  \n"
          "\nTape:2\n"
          "0: ──X─┤  \n"
          "\nTape:1\n"
          "0: ──Y──Tape:3─┤  \n"
          "\nTape:3\n"
          "0: ──Z─┤  "
      )
  
      assert tape_text(_tape) == expected
  
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 TestNestedTapes obj's underlying member method code with example usage: obj.test_multiple_nested_tapes() without return types