code: def test_resize_keypoints():
      img = np.random.randint(0, 256, [50, 10], np.uint8)
      keypoints = [(9, 5, 0, 0)]
  
      aug = A.Resize(height=100, width=5, p=1)
      result = aug(image=img, keypoints=keypoints)
      assert result["keypoints"] == [(4.5, 10, 0, 0)]
  
      aug = A.Resize(height=50, width=10, p=1)
      result = aug(image=img, keypoints=keypoints)
      assert result["keypoints"] == [(9, 5, 0, 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 25 for calling a global function with example usage: test_resize_keypoints() without return types