code: def test_fetch_diabetes_hospital_as_ndarray_raises_value_error(self):
      # Once this test no longer passes, the NOTE in the docstring of
      # fetch_diabetes_hospital regarding as_frame and the if clauses in
      # both dataset tests can be removed because the OpenML dataset has
      # been fixed.
      with pytest.raises(ValueError):
          fetch_diabetes_hospital(as_frame=False)
  
imports: import pandas
  import numpy
  import pytest
  from fairlearn.datasets import fetch_adult, fetch_bank_marketing, fetch_boston, fetch_credit_card, fetch_diabetes_hospital
label_desc: Use image node_id 3 for calling the TestFairlearnDataset obj's underlying member method code with example usage: obj.test_fetch_diabetes_hospital_as_ndarray_raises_value_error() without return types