Skip to content

Commit bfa41e5

Browse files
committed
Fix test
1 parent f6ce06c commit bfa41e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_winapi.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ def test_report_event(self):
183183
test_strings, test_data)
184184

185185
# Test with empty strings list
186-
_winapi.ReportEvent(handle, _winapi.EVENTLOG_AUDIT_FAILURE ,2, 0, 1003,
187-
[])
186+
_winapi.ReportEvent(handle, _winapi.EVENTLOG_AUDIT_FAILURE, 2, 1003, [])
188187

189188
with self.assertRaisesRegex(OSError, '[WinError 6]'):
190189
_winapi.ReportEvent(_winapi.INVALID_HANDLE_VALUE,

0 commit comments

Comments
 (0)