code: def test_method_checksum(self):
      h = hashlib.sha1()
      for i in range(sys.maxunicode + 1):
          char = chr(i)
          data = [
              # Predicates (single char)
              "01"[char.isalnum()],
              "01"[char.isalpha()],
              "01"[char.isdecimal()],
              "01"[char.isdigit()],
              "01"[char.islower()],
              "01"[char.isnumeric()],
              "01"[char.isspace()],
              "01"[char.istitle()],
              "01"[char.isupper()],
              # Predicates (multiple chars)
              "01"[(char + "abc").isalnum()],
              "01"[(char + "abc").isalpha()],
              "01"[(char + "123").isdecimal()],
              "01"[(char + "123").isdigit()],
              "01"[(char + "abc").islower()],
              "01"[(char + "123").isnumeric()],
              "01"[(char + " \t").isspace()],
              "01"[(char + "abc").istitle()],
              "01"[(char + "ABC").isupper()],
              # Mappings (single char)
              char.lower(),
              char.upper(),
              char.title(),
              # Mappings (multiple chars)
              (char + "abc").lower(),
              (char + "ABC").upper(),
              (char + "abc").title(),
              (char + "ABC").title(),
          ]
          h.update("".join(data).encode("utf-8", "surrogatepass"))
      result = h.hexdigest()
      self.assertEqual(result, self.expectedchecksum)
  
imports: import hashlib
  from http.client import HTTPException
  import sys
  import unicodedata
  import unittest
  from test.support import open_urlresource, requires_resource, script_helper, cpython_only, check_disallow_instantiation
label_desc: Use image node_id 1 for calling the UnicodeMethodsTest obj's underlying member method code with example usage: obj.test_method_checksum() without return types