[Python-Dev] [Python-checkins] cpython: Changed importlib tests to use assertIs, assertIsInstance, etc., instead of
Eric V. Smith
eric at trueblade.com
Thu Jun 28 03:35:14 CEST 2012
On 6/27/2012 4:34 PM, Terry Reedy wrote:
> On 6/27/2012 3:26 PM, eric.smith wrote:
>> http://hg.python.org/cpython/rev/9623c83ba489
>> changeset: 77825:9623c83ba489
>> user: Eric V. Smith <eric at trueblade.com>
>> date: Wed Jun 27 15:26:26 2012 -0400
>> summary:
>> Changed importlib tests to use assertIs, assertIsInstance, etc.,
>> instead of just assertTrue.
>
> You forgot assertIsNone ;-)
> or was that intentional?
Darn it! I can never remember which ones exist. I was hoping for an
assertHasAttr, but no such luck.
I'll fix it.
More information about the Python-Dev
mailing list