code: def test_1pxfit():
      # Division by zero in equalize if image is 1 pixel high
      newimg = ImageOps.fit(hopper("RGB").resize((1, 1)), (35, 35))
      assert newimg.size == (35, 35)
  
      newimg = ImageOps.fit(hopper("RGB").resize((1, 100)), (35, 35))
      assert newimg.size == (35, 35)
  
      newimg = ImageOps.fit(hopper("RGB").resize((100, 1)), (35, 35))
      assert newimg.size == (35, 35)
  
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageDraw, ImageOps, ImageStat, features
  from .helper import assert_image_equal, assert_image_similar, assert_image_similar_tofile, assert_tuple_approx_equal, hopper
label_desc: Use image node_id 2 for calling a global function with example usage: test_1pxfit() without return types