code: def test_fetch(fetch_california_housing_fxt):
      data = fetch_california_housing_fxt()
      assert (20640, 8) == data.data.shape
      assert (20640,) == data.target.shape
      assert data.DESCR.startswith(".. _california_housing_dataset:")
  
      # test return_X_y option
      fetch_func = partial(fetch_california_housing_fxt)
      check_return_X_y(data, fetch_func)
  
imports: from functools import partial
  import pytest
  from sklearn.datasets.tests.test_common import check_return_X_y
label_desc: Use image node_id 1 for calling a global function with example usage: test_fetch(fetch_california_housing_fxt) without return types