def has_pywin32():
    "\n    Does this environment have pywin32?\n    Should return False even when Mercurial's Demand Import allowed import of\n    win32cred.\n    "
    with ExceptionRaisedContext() as exc:
        win32cred.__name__
    return (not bool(exc))
Does this environment have pywin32?
Should return False even when Mercurial's Demand Import allowed import of
win32cred.
def has_pywin32():
    "\n    Does this environment have pywin32?\n    Should return False even when Mercurial's Demand Import allowed import of\n    win32cred.\n    "
    with ExceptionRaisedContext() as exc:
        win32cred.__name__
    return (not bool(exc))