mirror of
https://github.com/python/cpython.git
synced 2025-12-10 02:50:09 +00:00
Issue #25097: Re-raise any other pywin32 error
This commit is contained in:
parent
22226c5595
commit
106ddf07b3
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue