Skip to content

Commit

Permalink
make exit code individual
Browse files Browse the repository at this point in the history
  • Loading branch information
neonene committed Apr 28, 2024
1 parent fecd192 commit 2bdf01c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/_testmultiphase.c
Expand Up @@ -965,10 +965,10 @@ datetime_capi_client_exec(PyObject *m)
}
PyDateTime_IMPORT;
if (PyDateTimeAPI == NULL) {
return -1;
return -2;
}
if (PyDateTimeAPI != PyCapsule_Import(PyDateTime_CAPSULE_NAME, 0)) {
return -1;
return -3;
}
return 0;
}
Expand Down

0 comments on commit 2bdf01c

Please sign in to comment.