code: def test_predict_nans():
      """
      Tests that the predictions are not nans
      """
      model = ARIMA(data=data, ar=2, ma=2, family=Skewt())
      x = model.fit()
      assert (
          len(
              model.predict(h=5).values[
                  np.isnan(model.predict(h=5).values)
              ]
          )
          == 0
      )
  
file_path: pyflux/pyflux/arma/tests/test_arima_skewt.py
imports: import numpy
  from pyflux.arma import ARIMA
  from pyflux.families import Skewt
label_desc: Use image node_id 6 for calling a global function with example usage: test_predict_nans() without return types