code: def test_core_number_invalid_input(input_expected_output):
      input_data_path = (
          utils.RAPIDS_DATASET_ROOT_DIR_PATH / "karate-asymmetric.csv"
      ).as_posix()
  
      chunksize = dcg.get_chunksize(input_data_path)
      ddf = dask_cudf.read_csv(
          input_data_path,
          chunksize=chunksize,
          delimiter=" ",
          names=["src", "dst", "value"],
          dtype=["int32", "int32", "float32"],
      )
  
      dg = cugraph.Graph(directed=True)
      dg.from_dask_cudf_edgelist(
          ddf,
          source="src",
          destination="dst",
          edge_attr="value",
          renumber=True,
      )
  
      invalid_degree_type = 3
      dg = input_expected_output["MGGraph"]
      with pytest.raises(ValueError):
          dcg.core_number(dg, invalid_degree_type)
  
file_path: cugraph/python/cugraph/cugraph/tests/core/test_core_number_mg.py
imports: import gc
  import pytest
  import dask_cudf
  import cugraph
  import cugraph.dask
  from cugraph.testing import utils
  from pylibcugraph.testing.utils import gen_fixture_params_product
label_desc: Use image node_id 6 for calling a global function with example usage: test_core_number_invalid_input(input_expected_output) without return types