• Jeremy Hylton's avatar
    Be more specific about exception begin caugh in test_merge(). · d6669eca
    Jeremy Hylton authored
    The only exceptions that an _p_resolveConflict() method should raise
    are ConflictError and ValueError.  If it raises a different exception,
    then it has failed.
    
    In general, a unittest should not use a bare except clause, because
    they almost always mask failures.  If the test really means to catch
    all exceptions, it's best to make a comment to that effect.
    d6669eca
testConflict.py 15.3 KB