class_docstr: Test the output is properly configured via printoptions.
  The exponential notation is enabled automatically when the values 
  are too small or too large.
code: def test_switch_to_exp(self):
      for i, s in enumerate(SWITCH_TO_EXP):
          with printoptions(precision=i):
              p = poly.Polynomial(
                  [1.23456789 * 10**-i for i in range(i // 2 + 3)]
              )
              assert str(p).replace("\n", " ") == s
  
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 5 for calling the TestPrintOptions obj's underlying member method code with example usage: obj.test_switch_to_exp() without return types