code: def test_reducing_gap_1(self, gradients_image):
      for box, epsilon in [
          (None, 4),
          ((1.1, 2.2, 510.8, 510.9), 4),
          ((3, 10, 410, 256), 10),
      ]:
          ref = gradients_image.resize((52, 34), Image.BICUBIC, box=box)
          im = gradients_image.resize(
              (52, 34), Image.BICUBIC, box=box, reducing_gap=1.0
          )
  
          with pytest.raises(AssertionError):
              assert_image_equal(ref, im)
  
          assert_image_similar(ref, im, epsilon)
  
imports: from itertools import permutations
  import pytest
  from PIL import Image
  from .helper import assert_image_equal, assert_image_equal_tofile, assert_image_similar, hopper
label_desc: Use image node_id 2 for calling the TestReducingGapResize obj's underlying member method code with example usage: obj.test_reducing_gap_1(gradients_image) without return types