code: def test_nonascii_maxwidth(app, status, warning):
      app.build()
      result = (app.outdir / "nonascii_maxwidth.txt").read_text(
          encoding="utf8"
      )
      lines = [
          line.strip() for line in result.splitlines() if line.strip()
      ]
      line_widths = [column_width(line) for line in lines]
      assert max(line_widths) < MAXWIDTH
  
file_path: sphinx/tests/test_builders/test_build_text.py
imports: import pytest
  from docutils.utils import column_width
  from sphinx.writers.text import MAXWIDTH, Cell, Table
label_desc: Use image node_id 6 for calling a global function with example usage: test_nonascii_maxwidth(app, status, warning) without return types