• Kevin Modzelewski's avatar
    Support overriding AssertionError · 247c0171
    Kevin Modzelewski authored
    Apparently the 'assert' statement works by looking up the "AssertionError"
    name in the global scope, and then raising an exception of that type.
    
    pytest uses this to override assertion behavior.
    247c0171
override_assertionerror.py 633 Bytes