Skip to content

Commit b167204

Browse files
committed
Fix log type
1 parent 1e3479a commit b167204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_winapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,5 +191,5 @@ def test_report_event(self):
191191
test_data)
192192

193193
with self.assertRaisesRegex(TypeError, 'All strings must be unicode'):
194-
_winapi.ReportEvent(handle, _winapi.EVENTLOG_SUCESS_TYPE, 0, 1001,
194+
_winapi.ReportEvent(handle, _winapi.EVENTLOG_SUCCESS, 0, 1001,
195195
["string", 123])

0 commit comments

Comments
 (0)