Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Open
Description
Feature or enhancement
Right nowassert generate errors that are hard to read, mostly because they lack context.
Example:
>>>assert1==0Traceback (mostrecentcalllast):File"<stdin>",line1,in<module>AssertionError
Pitch
Let's make them better:
>>>assert1==0Traceback (mostrecentcalllast):File"<stdin>",line1,in<module>assert1==0^^^^^^AssertionError
This is a good starting point.
Later this can be enhanced to use more context.