code: def test_iris(n_points):
      # test that fetch/download works fine
      X, y = shap.datasets.iris(n_points=n_points)
  
      # check the shape of the result
      # check that the n_points parameter samples the dataset
      n_points = 150 if n_points is None else n_points
      assert X.shape == (n_points, 4)
      assert y.shape == (n_points,)
  
file_path: shap/tests/test_datasets.py
imports: import pytest
  import shap
label_desc: Use image node_id 6 for calling a global function with example usage: test_iris(n_points) without return types