code: def test2_predict_nans():
      """
      Tests that the predictions are not NaNs
      """
      assert (
          len(
              model_b_2.predict(h=5, oos_data=data_oos).values[
                  np.isnan(
                      model_b_2.predict(h=5, oos_data=data_oos).values
                  )
              ]
          )
          == 0
      )
  
imports: import numpy
  import pandas
  import pyflux
label_desc: Use image node_id 36 for calling a global function with example usage: test2_predict_nans() without return types