code: def test_warnings():
      # ticket 1334
      with np.errstate(all="raise"):
          # these should raise no fp warnings
          _ufuncs.eval_legendre(1, 0)
          _ufuncs.eval_laguerre(1, 1)
          _ufuncs.eval_gegenbauer(1, 1, 0)
  
imports: import numpy
  from numpy.testing import assert_, assert_allclose
  import pytest
  from scipy.special import _ufuncs
  import scipy.special._orthogonal
  from scipy.special._testutils import FuncData
label_desc: Use image node_id 3 for calling a global function with example usage: test_warnings() without return types