code: def test_errno_mapping(self):
      # The OSError constructor maps errnos to subclasses
      # A sample test for the basic functionality
      e = OSError(EEXIST, "Bad file descriptor")
      self.assertIs(type(e), FileExistsError)
      # Exhaustive testing
      for errcode, exc in self._map.items():
          e = OSError(errcode, "Some message")
          self.assertIs(type(e), exc)
      othercodes = set(errno.errorcode) - set(self._map)
      for errcode in othercodes:
          e = OSError(errcode, "Some message")
          self.assertIs(type(e), OSError, repr(e))
  
imports: import builtins
  import os
  import select
  import socket
  import unittest
  import errno
  from errno import EEXIST
label_desc: Use image node_id 5 for calling the HierarchyTest obj's underlying member method code with example usage: obj.test_errno_mapping() without return types