code: def test_mask_dropout():
      # In this case we have mask with all ones, so MaskDropout wipe entire mask and image
      img = np.random.randint(0, 256, [50, 10], np.uint8)
      mask = np.ones([50, 10], dtype=np.int64)
  
      aug = A.MaskDropout(p=1)
      result = aug(image=img, mask=mask)
      assert np.all(result["image"] == 0)
      assert np.all(result["mask"] == 0)
  
      # In this case we have mask with zeros , so MaskDropout will make no changes
      img = np.random.randint(0, 256, [50, 10], np.uint8)
      mask = np.zeros([50, 10], dtype=np.int64)
  
      aug = A.MaskDropout(p=1)
      result = aug(image=img, mask=mask)
      assert np.all(result["image"] == img)
      assert np.all(result["mask"] == 0)
  
imports: import random
  from functools import partial
  import cv2
  import numpy
  import pytest
  import albumentations
  import albumentations.augmentations.functional
  import albumentations.augmentations.geometric.functional
  from albumentations.augmentations.blur.functional import gaussian_blur
  from .utils import get_dual_transforms, get_image_only_transforms, get_transforms
label_desc: Use image node_id 28 for calling a global function with example usage: test_mask_dropout() without return types