Commit 106ddf07 authored by Zachary Ware's avatar Zachary Ware

Issue #25097: Re-raise any other pywin32 error

parent 22226c55
...@@ -4106,6 +4106,7 @@ class NTEventLogHandlerTest(BaseTest): ...@@ -4106,6 +4106,7 @@ class NTEventLogHandlerTest(BaseTest):
except pywintypes.error as e: except pywintypes.error as e:
if e.winerror == 5: # access denied if e.winerror == 5: # access denied
raise unittest.SkipTest('Insufficient privileges to run test') raise unittest.SkipTest('Insufficient privileges to run test')
raise
r = logging.makeLogRecord({'msg': 'Test Log Message'}) r = logging.makeLogRecord({'msg': 'Test Log Message'})
h.handle(r) h.handle(r)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment