code: def test_transpose_both_image_and_mask():
      image = np.ones((8, 6, 3))
      mask = np.ones((8, 6))
      augmentation = A.Transpose(p=1)
      augmented = augmentation(image=image, mask=mask)
      assert augmented["image"].shape == (6, 8, 3)
      assert augmented["mask"].shape == (6, 8)
  
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 2 for calling a global function with example usage: test_transpose_both_image_and_mask() without return types