24 Oct
2020
24 Oct
'20
12:07 a.m.
On 10/23/20 4:50 PM, Steven D'Aprano wrote:
On Fri, Oct 23, 2020 at 01:06:36PM -0700, Ethan Furman wrote:
I think having a *fail* keyword for unit testing would be great.
Luckily, we already have it:
assert False
I take it you don't run your unit tests under -O :-)
`raise Exception` works fine for me.
Good point. I should start doing that. -- ~Ethan~