code: def test_grid_distortion_interpolation(interpolation):
      image = np.random.randint(
          low=0, high=256, size=(100, 100, 3), dtype=np.uint8
      )
      mask = np.random.randint(
          low=0, high=2, size=(100, 100), dtype=np.uint8
      )
      aug = A.GridDistortion(
          num_steps=1,
          distort_limit=(0.3, 0.3),
          interpolation=interpolation,
          p=1,
      )
      data = aug(image=image, mask=mask)
      expected_image = FGeometric.grid_distortion(
          image,
          num_steps=1,
          xsteps=[1.3],
          ysteps=[1.3],
          interpolation=interpolation,
          border_mode=cv2.BORDER_REFLECT_101,
      )
      expected_mask = FGeometric.grid_distortion(
          mask,
          num_steps=1,
          xsteps=[1.3],
          ysteps=[1.3],
          interpolation=cv2.INTER_NEAREST,
          border_mode=cv2.BORDER_REFLECT_101,
      )
      assert np.array_equal(data["image"], expected_image)
      assert np.array_equal(data["mask"], expected_mask)
  
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 7 for calling a global function with example usage: test_grid_distortion_interpolation(interpolation) without return types