class_docstr: Test helper functions for the tape text.
docstr: Test private _add_grouping_symbols function renders as expected.
docstr_tok: ["Test","private","_add_grouping_symbols","function","renders","as","expected","."]
code: def test_add_grouping_symbols(self, op, out):
      """Test private _add_grouping_symbols function renders as expected."""
      assert out == _add_grouping_symbols(
          op,
          ["", "", "", ""],
          _Config(wire_map=default_wire_map, bit_map=default_bit_map),
      )
  
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 1 for calling the TestHelperFunctions obj's underlying member method code with example usage: obj.test_add_grouping_symbols(op, out) without return types