From 106ddf07b3e120d79985bab8b6f8ee782c4c7184 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Tue, 6 Oct 2015 15:28:43 -0500 Subject: Issue #25097: Re-raise any other pywin32 error --- Lib/test/test_logging.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index f3df534..deba2e4 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) -- cgit v0.12