code: def test_offset():
      # Arrange
      xoffset = 45
      yoffset = 20
      with Image.open("Tests/images/imagedraw_ellipse_RGB.png") as im:
          # Act
          new = ImageChops.offset(im, xoffset, yoffset)
  
          # Assert
          assert new.getbbox() == (0, 45, 100, 96)
          assert new.getpixel((50, 50)) == BLACK
          assert (
              new.getpixel((50 + xoffset, 50 + yoffset)) == DARK_GREEN
          )
  
          # Test no yoffset
          assert ImageChops.offset(im, xoffset) == ImageChops.offset(
              im, xoffset, xoffset
          )
  
imports: from __future__ import annotations
  from PIL import Image, ImageChops
  from .helper import assert_image_equal, hopper
label_desc: Use image node_id 20 for calling a global function with example usage: test_offset() without return types