def METHOD_NAME(self):
    # Disable faulthandler to prevent logging the warning:
    # "Windows fatal exception: access violation"
    with support.disable_faulthandler():
        # Call functions with invalid arguments, and make sure
        # that access violations are trapped and raise an
        # exception.
        self.assertRaises(OSError, windll.kernel32.GetModuleHandleA, 32)