]> granicus.if.org Git - python/commitdiff
Issue #25097: Re-raise any other pywin32 error
authorZachary Ware <zachary.ware@gmail.com>
Tue, 6 Oct 2015 20:28:43 +0000 (15:28 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Tue, 6 Oct 2015 20:28:43 +0000 (15:28 -0500)
Lib/test/test_logging.py

index f3df5346e1e9c968447ecfb23dc327b9971ea597..deba2e49fad267565002efadaef680643a854aee 100644 (file)
@@ -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)