code: def test_get_mask(failure_logger, mask_dataset):
      mask_value, X_np, X = mask_dataset
      cu_mask = cu_get_mask(X, value_to_mask=mask_value)
      sk_mask = sk_get_mask(X_np, value_to_mask=mask_value)
      assert_allclose(cu_mask, sk_mask)
  
imports: import platform
  from sklearn.preprocessing import normalize
  from cuml.testing.test_preproc_utils import assert_allclose
  from cuml.thirdparty_adapters.sparsefuncs_fast import csr_mean_variance_axis0, csc_mean_variance_axis0, _csc_mean_variance_axis0, inplace_csr_row_normalize_l1, inplace_csr_row_normalize_l2
  from sklearn.utils._mask import _get_mask
  from cuml.thirdparty_adapters.adapters import check_array, _get_mask, _masked_column_median, _masked_column_mean, _masked_column_mode
  from cuml.internals.safe_imports import cpu_only_import_from
  from cuml.internals.safe_imports import gpu_only_import_from
  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 9 for calling a global function with example usage: test_get_mask(failure_logger, mask_dataset) without return types