unittest weirdness

Ethan Furman ethan at stoneleaf.us
Tue Mar 11 23:29:59 CET 2014


On 03/11/2014 03:13 PM, John Gordon wrote:
> Ethan Furman writes:
>
>>           if missing:
>>               raise ValueError('invoices %r missing from batch' % missing)
>
> It's been a while since I wrote test cases, but I recall using the assert*
> methods (assertEqual, assertTrue, etc.) instead of raising exceptions.
> Perhaps that's the issue?

Drat.  Tried it, same issue.  O/S kills it.  :(

--
~Ethan~



More information about the Python-list mailing list