code: def test_cyclotomic_poly():
      raises(ValueError, lambda: cyclotomic_poly(0, x))
  
      assert cyclotomic_poly(1, x, polys=True) == Poly(x - 1)
  
      assert cyclotomic_poly(1, x) == x - 1
      assert cyclotomic_poly(2, x) == x + 1
      assert cyclotomic_poly(3, x) == x**2 + x + 1
      assert cyclotomic_poly(4, x) == x**2 + 1
      assert cyclotomic_poly(5, x) == x**4 + x**3 + x**2 + x + 1
      assert cyclotomic_poly(6, x) == x**2 - x + 1
  
file_path: sympy/sympy/polys/tests/test_specialpolys.py
imports: from sympy.core.add import Add
  from sympy.core.symbol import symbols
  from sympy.functions.elementary.miscellaneous import sqrt
  from sympy.ntheory.generate import prime
  from sympy.polys.domains.integerring import ZZ
  from sympy.polys.polytools import Poly
  from sympy.utilities.iterables import permute_signs
  from sympy.testing.pytest import raises
  from sympy.polys.specialpolys import swinnerton_dyer_poly, cyclotomic_poly, symmetric_poly, random_poly, interpolating_poly, fateman_poly_F_1, dmp_fateman_poly_F_1, fateman_poly_F_2, dmp_fateman_poly_F_2, fateman_poly_F_3, dmp_fateman_poly_F_3
  from sympy.abc import x, y, z
label_desc: Use image node_id 2 for calling a global function with example usage: test_cyclotomic_poly() without return types