code: def test_passthrough(self):
      # When no resize is required
      im = hopper()
  
      for size, box in [
          ((40, 50), (0, 0, 40, 50)),
          ((40, 50), (0, 10, 40, 60)),
          ((40, 50), (10, 0, 50, 50)),
          ((40, 50), (10, 20, 50, 70)),
      ]:
          res = im.resize(size, Image.LANCZOS, box)
          assert res.size == size
          assert_image_equal(res, im.crop(box), f">>> {size} {box}")
  
imports: from contextlib import contextmanager
  import pytest
  from PIL import Image, ImageDraw
  from .helper import assert_image_equal, assert_image_similar, hopper, mark_if_feature_version
label_desc: Use image node_id 6 for calling the TestCoreResampleBox obj's underlying member method code with example usage: obj.test_passthrough() without return types