code: def test_data_duplicates_empty():
      no_data = pd.DataFrame({"col1": [], "col2": [], "col3": []})
      assert_that(
          calling(DataDuplicates().run).with_args(no_data),
          raises(
              DeepchecksValueError,
              "Can't create a Dataset object with an empty dataframe",
          ),
      )
  
file_path: deepchecks/tests/tabular/checks/integrity/data_duplicate_test.py
imports: import numpy
  import pandas
  from hamcrest import assert_that, calling, close_to, equal_to, has_items, has_length, raises
  from deepchecks.core import ConditionCategory
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.tabular.checks.data_integrity.data_duplicates import DataDuplicates
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 7 for calling a global function with example usage: test_data_duplicates_empty() without return types