class_docstr: Test helper functions for the tape text.
docstr: Test adding the first MidMeasureMP to array of strings
docstr_tok: ["Test","adding","the","first","MidMeasureMP","to","array","of","strings"]
code: def test_add_mid_measure_op(self, op, layer_str, bit_map, out):
      """Test adding the first MidMeasureMP to array of strings"""
      assert out == _add_op(
          op,
          layer_str,
          _Config(wire_map=default_wire_map, bit_map=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 9 for calling the TestHelperFunctions obj's underlying member method code with example usage: obj.test_add_mid_measure_op(op, layer_str, bit_map, out) without return types