code: def test_with_drift_object_detection_not_enough_samples(
      coco_visiondata_train, coco_visiondata_test
  ):
      # Arrange
      check = PredictionDrift(min_samples=1000)
  
      # Assert
      assert_that(
          calling(check.run).with_args(
              coco_visiondata_train, coco_visiondata_test
          ),
          raises(NotEnoughSamplesError),
      )
  
file_path: deepchecks/tests/vision/checks/model_evaluation/prediction_drift_test.py
imports: from hamcrest import assert_that, calling, close_to, equal_to, greater_than, has_entries, has_length, raises
  from deepchecks.core.errors import NotEnoughSamplesError
  from deepchecks.vision.checks import PredictionDrift
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 9 for calling a global function with example usage: test_with_drift_object_detection_not_enough_samples(coco_visiondata_train, coco_visiondata_test) without return types