code: def test_dummy_allocator():
      with pytest.raises(AssertionError):
          with cupy_using_allocator(dummy_allocator):
              a = cp.arange(10)
              del a
  
file_path: cuml/python/cuml/tests/test_allocator.py
imports: from cuml.internals.input_utils import sparse_scipy_to_cp
  from cuml.testing.utils import small_classification_dataset
  from cuml.naive_bayes import MultinomialNB
  from cuml import LogisticRegression
  from cuml.internals.safe_imports import cpu_only_import
  import pytest
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 2 for calling a global function with example usage: test_dummy_allocator() without return types