diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index e75c393558f..f5e34e75622 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -4136,6 +4136,7 @@ def test_basic(self): 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)