code: def test_8u(self):
      im, color = self.make_case("RGB", (0, 64, 255))
      r, g, b = im.split()
      self.run_case((r, color[0]))
      self.run_case((g, color[1]))
      self.run_case((b, color[2]))
      self.run_case(self.make_case("L", 12))
  
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 3 for calling the TestCoreResampleConsistency obj's underlying member method code with example usage: obj.test_8u() without return types