code: def test_nonnumeric_object_coefficients(coefs, tgt):
      """
      Test coef fallback for object arrays of non-numeric coefficients.
      """
      p = poly.Polynomial(coefs)
      poly.set_default_printstyle("unicode")
      assert_equal(str(p), tgt)
  
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 4 for calling a global function with example usage: test_nonnumeric_object_coefficients(coefs, tgt) without return types