Skip to content

Commit 1e3479a

Browse files
committed
Change log type to sucess type in test
1 parent a186b71 commit 1e3479a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_winapi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,6 @@ def test_report_event(self):
190190
_winapi.EVENTLOG_AUDIT_SUCCESS, 0, 1001, [],
191191
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_SUCESS_TYPE, 0, 1001,
195+
["string", 123])

0 commit comments

Comments
 (0)