code: def test_linewidth_printoption(self, lw, tgt):
      p = poly.Polynomial(
          [0, 10, 200, 3000, 40000, 500000, 600000, 70000, 8000, 900]
      )
      with printoptions(linewidth=lw):
          assert_equal(str(p), tgt)
          for line in str(p).split("\n"):
              assert_(len(line) < lw)
  
imports: from math import nan, inf
  import pytest
  from numpy.core import array, arange, printoptions
  import numpy.polynomial
  from numpy.testing import assert_equal, assert_
  from fractions import Fraction
  from decimal import Decimal
label_desc: Use image node_id 6 for calling the TestLinebreaking obj's underlying member method code with example usage: obj.test_linewidth_printoption(lw, tgt) without return types