code: def test_parsemap(self):
      keepwhite = {ord(c): ord(c) for c in " \t\n\r"}
      mapping = pyparse.ParseMap(keepwhite)
      self.assertEqual(mapping[ord("\t")], ord("\t"))
      self.assertEqual(mapping[ord("a")], ord("x"))
      self.assertEqual(mapping[1000], ord("x"))
  
imports: from idlelib import pyparse
  import unittest
  from collections import namedtuple
label_desc: Use image node_id 1 for calling the ParseMapTest obj's underlying member method code with example usage: obj.test_parsemap() without return types