code: def test_froomroots():
      roots = [-2, 2]
      p = poly.Polynomial.fromroots(roots, symbol="z")
      assert_equal(p.symbol, "z")
  
imports: import pytest
  import numpy.polynomial
  from numpy.core import array
  from numpy.testing import assert_equal, assert_raises, assert_
label_desc: Use image node_id 3 for calling a global function with example usage: test_froomroots() without return types