@@ -182,14 +182,14 @@ def test_report_event(self):
182182 _winapi .ReportEvent (handle , _winapi .EVENTLOG_SUCCESS , 1 , 1002 ,
183183 test_strings , test_data )
184184
185- # Test with empty strings list
186- _winapi .ReportEvent (handle , _winapi .EVENTLOG_AUDIT_FAILURE , 2 , 1003 , [])
185+ # # Test with empty strings list
186+ # _winapi.ReportEvent(handle, _winapi.EVENTLOG_AUDIT_FAILURE, 2, 1003, [])
187187
188- with self .assertRaisesRegex (OSError , '[WinError 6]' ):
189- _winapi .ReportEvent (_winapi .INVALID_HANDLE_VALUE ,
190- _winapi .EVENTLOG_AUDIT_SUCCESS , 0 , 1001 , [],
191- test_data )
188+ # with self.assertRaisesRegex(OSError, '[WinError 6]'):
189+ # _winapi.ReportEvent(_winapi.INVALID_HANDLE_VALUE,
190+ # _winapi.EVENTLOG_AUDIT_SUCCESS, 0, 1001, [],
191+ # test_data)
192192
193- with self .assertRaisesRegex (TypeError , 'All strings must be unicode' ):
194- _winapi .ReportEvent (handle , _winapi .EVENTLOG_ERROR_TYPE , 0 , 1001 ,
195- ["string" , 123 ])
193+ # with self.assertRaisesRegex(TypeError, 'All strings must be unicode'):
194+ # _winapi.ReportEvent(handle, _winapi.EVENTLOG_ERROR_TYPE, 0, 1001,
195+ # ["string", 123])
0 commit comments