summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2015-10-06 20:28:43 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2015-10-06 20:28:43 (GMT)
commit106ddf07b3e120d79985bab8b6f8ee782c4c7184 (patch)
treee72343c21688d1f99fe45d1cc3fe755c63722575
parent22226c55955348644c8615738391570fdcb7d0be (diff)
downloadcpython-106ddf07b3e120d79985bab8b6f8ee782c4c7184.zip
cpython-106ddf07b3e120d79985bab8b6f8ee782c4c7184.tar.gz
cpython-106ddf07b3e120d79985bab8b6f8ee782c4c7184.tar.bz2
Issue #25097: Re-raise any other pywin32 error
-rw-r--r--Lib/test/test_logging.py1
1 files changed, 1 insertions, 0 deletions
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)