code: def test_drift_not_enough_samples(drifted_classification_label):
      # Arrange
      train, test = drifted_classification_label
      check = LabelDrift(min_samples=1000000)
  
      # Assert
      assert_that(
          calling(check.run).with_args(train, test),
          raises(NotEnoughSamplesError),
      )
  
file_path: deepchecks/tests/tabular/checks/train_test_validation/label_drift_test.py
imports: import numpy
  import pandas
  from hamcrest import assert_that, calling, close_to, equal_to, greater_than, has_entries, has_length, raises
  from deepchecks.core.condition import ConditionCategory
  from deepchecks.core.errors import NotEnoughSamplesError
  from deepchecks.tabular import Dataset
  from deepchecks.tabular.checks import LabelDrift
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 5 for calling a global function with example usage: test_drift_not_enough_samples(drifted_classification_label) without return types