code: def test_feature_importances():
      model = Mock()
      model.feature_importances_ = np.array(
          [0.12, 0.10, 0.8, 0.06, 0.03]
      )
      plot.feature_importances(model)
  
imports: from functools import partial
  import sys
  from unittest.mock import Mock
  import numpy
  from matplotlib.testing.decorators import image_comparison
  from sklearn_evaluation import plot
label_desc: Use image node_id 17 for calling a global function with example usage: test_feature_importances() without return types