code: def test_features(fname, sname, ser):
      ft = sname[: sname.rfind("=")]
      expected = float(sname[sname.rfind("=") + 1 :])
      fn = getattr(features, fname)
      fts = fn(ser).result
      assert abs(expected - fts[ft]) < 0.05
  
imports: import pytest
  from tests.functional.data import datasets
  from tslumen.profile import features
label_desc: Use image node_id 1 for calling a global function with example usage: test_features(fname, sname, ser) without return types