code: def test_dataset_wrong_input():
      """DeepchecksValueError is raised when str is passed as Dataset"""
      x = "wrong_input"
      assert_that(
          calling(ClassImbalance().run).with_args(x),
          raises(
              DeepchecksValueError,
              "non-empty instance of Dataset or DataFrame was expected, instead got str",
          ),
      )
  
file_path: deepchecks/tests/tabular/checks/integrity/class_imbalance_test.py
imports: import pandas
  from hamcrest import assert_that, calling, equal_to, has_items, has_length, raises
  from deepchecks.core import ConditionCategory
  from deepchecks.core.errors import DeepchecksValueError, ModelValidationError
  from deepchecks.tabular.checks.data_integrity.class_imbalance import ClassImbalance
  from deepchecks.tabular.dataset import Dataset
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 1 for calling a global function with example usage: test_dataset_wrong_input() without return types