code: def test_load_dataset(self):
      iris = datasets.load_iris()
      df = pdml.ModelFrame(iris)
      self.assertEqual(df.shape, (150, 5))
  
      msg = "'target' can't be specified for sklearn.datasets"
      with pytest.raises(ValueError, match=msg):
          pdml.ModelFrame(iris, target="X")
  
imports: import pytest
  import sklearn.datasets
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 1 for calling the TestSklearnBase obj's underlying member method code with example usage: obj.test_load_dataset() without return types