Skip to content

Commit

Permalink
Try to fix tests on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Jul 25, 2023
1 parent cb32733 commit 2195315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -2112,7 +2112,7 @@ static PyMemberDef OSError_members[] = {
{"filename2", _Py_T_OBJECT, offsetof(PyOSErrorObject, filename2), 0,
PyDoc_STR("second exception filename")},
#ifdef MS_WINDOWS
{"winerror", Py_T_OBJECT_EX, offsetof(PyOSErrorObject, winerror), 0,
{"winerror", _Py_T_OBJECT, offsetof(PyOSErrorObject, winerror), 0,
PyDoc_STR("Win32 exception code")},
#endif
{NULL} /* Sentinel */
Expand Down

0 comments on commit 2195315

Please sign in to comment.