class_docstr: Test the max_length keyword.
docstr: Test max length default to 100.
docstr_tok: ["Test","max","length","default","to","100","."]
code: def test_max_length_default(self):
      """Test max length default to 100."""
  
      @qml.qnode(qml.device("default.qubit", wires=1))
      def long_circuit():
          for _ in range(100):
              qml.PauliX(0)
          return qml.expval(qml.PauliZ(0))
  
      out = draw(long_circuit)()
      assert 95 <= max(len(s) for s in out.split("\n")) <= 100
  
imports: from functools import partial
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.drawer import draw
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() and returns: qml