code: def test_common_check_as_frame(name, dataset_func):
      bunch = dataset_func()
      check_as_frame(bunch, dataset_func)
  
file_path: scikit-learn/sklearn/datasets/tests/test_common.py
imports: import inspect
  import os
  import numpy
  import pytest
  import sklearn.datasets
label_desc: Use image node_id 8 for calling a global function with example usage: test_common_check_as_frame(name, dataset_func) without return types