From: Zachary Ware Date: Tue, 6 Oct 2015 20:28:43 +0000 (-0500) Subject: Issue #25097: Re-raise any other pywin32 error X-Git-Tag: v3.5.1rc1~204^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=106ddf07b3e120d79985bab8b6f8ee782c4c7184;p=python Issue #25097: Re-raise any other pywin32 error --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index f3df5346e1..deba2e49fa 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -4106,6 +4106,7 @@ class NTEventLogHandlerTest(BaseTest): except pywintypes.error as e: if e.winerror == 5: # access denied raise unittest.SkipTest('Insufficient privileges to run test') + raise r = logging.makeLogRecord({'msg': 'Test Log Message'}) h.handle(r)