code: def test_fit_notNaN(lfrfitmodel):
      """Should not have nan's in it."""
      expected = False
      res = np.isnan(lfrfitmodel.learned_model).any()
      print("nan:" + str(res))
      assert res == expected
  
file_path: AIF360/tests/test_lfr.py
imports: import os
  import sys
  import numpy
  import pytest
  from aif360.algorithms.preprocessing import LFR
  from aif360.algorithms.preprocessing.optim_preproc_helpers.data_preproc_functions import load_preproc_data_adult
label_desc: Use image node_id 7 for calling a global function with example usage: test_fit_notNaN(lfrfitmodel) without return types