You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Python 3.12, a new exit code (5, instead of 0) was added if all tests were skipped in unittest. But in some cases it still returns 0. See code examples.
Bug report
In Python 3.12, a new exit code (
5, instead of0) was added if all tests were skipped inunittest. But in some cases it still returns0. See code examples.Code example 1:
Output:
Ok, we get exit code 5 here.
Code example 2:
Output:
Here we can see output
0. Ran one test and skipped. But I think it is incorrect, because all tests were skipped.Your environment
Linked PRs