class_docstr: Test the max_length keyword.
docstr: Test max length defaults to 100.
docstr_tok: ["Test","max","length","defaults","to","100","."]
code: def test_max_length_default(self):
      """Test max length defaults to 100."""
      with qml.queuing.AnnotatedQueue() as q_tape_ml:
          for _ in range(50):
              qml.PauliX(0)
              qml.PauliY(1)
  
          for _ in range(3):
              qml.sample()
  
      tape_ml = qml.tape.QuantumScript.from_queue(q_tape_ml)
      out = tape_text(tape_ml)
      assert 95 <= max(len(s) for s in out.split("\n")) <= 100
  
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 TestMaxLength obj's underlying member method code with example usage: obj.test_max_length_default() without return types