code: def test_draw_no_segmention_mask(device):
      img = torch.full(
          (3, 100, 100), 0, dtype=torch.uint8, device=device
      )
      masks = torch.full(
          (0, 100, 100), 0, dtype=torch.bool, device=device
      )
      with pytest.warns(
          UserWarning,
          match=re.escape(
              "masks doesn't contain any mask. No mask was drawn"
          ),
      ):
          res = utils.draw_segmentation_masks(img, masks)
          # Check that the function didn't change the image
          assert res.eq(img).all()
  
imports: import os
  import re
  import sys
  import tempfile
  from io import BytesIO
  import numpy
  import pytest
  import torch
  import torchvision.transforms.functional
  import torchvision.utils
  from common_utils import assert_equal, cpu_and_cuda
  from PIL import __version__, Image, ImageColor
  from torchvision.transforms.v2.functional import to_dtype
label_desc: Use image node_id 17 for calling a global function with example usage: test_draw_no_segmention_mask(device) without return types