Comment on 3 percent of Python codebases we checked had silently failing unit testsComments−charcircuit4yDoes unittest cause an exception when the second argument isn't a string? That would catch some of these I'd imagine.−lozenge4yThey should make `msg` a keyword-only argument on all the TestCase.assert* statements. It wouldn't be the first breaking change of this type.Searching for announced breaking changes about arguments to Python included functions...https://bugs.python.org/issue25628https://bugs.python.org/issue29193https://bugs.python.org/issue36492https://bugs.python.org/issue29209−rikateeOP4yit does not, it just prints them out in the console
Comments
Does unittest cause an exception when the second argument isn't a string? That would catch some of these I'd imagine.
They should make `msg` a keyword-only argument on all the TestCase.assert* statements. It wouldn't be the first breaking change of this type.
Searching for announced breaking changes about arguments to Python included functions...
https://bugs.python.org/issue25628
https://bugs.python.org/issue29193
https://bugs.python.org/issue36492
https://bugs.python.org/issue29209
it does not, it just prints them out in the console