code: def test_locf_(test_data):
      data = test_data(SHAPE)
      imputed = impy.locf(data)
      return_na_check(imputed)
  
file_path: impyute/test/imputation/ts/test_locf.py
imports: import numpy
  import impyute
  from impyute.ops.testing import return_na_check
  from impyute.ops import error
label_desc: Use image node_id 1 for calling a global function with example usage: test_locf_(test_data) without return types