class_docstr: Test situations with nested tapes.
docstr: Test decimals keyword passed to nested tapes.
docstr_tok: ["Test","decimals","keyword","passed","to","nested","tapes","."]
code: def test_nested_tapes_decimals(self):
      """Test decimals keyword passed to nested tapes."""
  
      with QuantumTape() as _tape:
          qml.RX(1.2345, wires=0)
          with QuantumTape():
              qml.Rot(1.2345, 2.3456, 3.456, wires=0)
  
      expected = "0: ──RX(1.2)──Tape:0─┤  \n\nTape:0\n0: ──Rot(1.2,2.3,3.5)─┤  "
  
      assert tape_text(_tape, decimals=1) == 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 3 for calling the TestNestedTapes obj's underlying member method code with example usage: obj.test_nested_tapes_decimals() without return types