code: def test_feature_importances_feature_names(
      path_to_tests_static, feature_names
  ):
      feature_importances = np.array([0.12, 0.10, 0.8, 0.06, 0.03])
      with open(path_to_tests_static / "table_ft_names.txt", "r") as f:
          expected = f.read()
      assert expected == str(
          table.feature_importances(
              feature_importances, feature_names=feature_names
          )
      )
  
file_path: sklearn-evaluation/tests/test_table.py
imports: from unittest.mock import Mock
  import pytest
  import numpy
  from sklearn_evaluation import table
label_desc: Use image node_id 4 for calling a global function with example usage: test_feature_importances_feature_names(path_to_tests_static, feature_names) without return types