def test_too_large2():
    f = Foo(b=90)
    with raises(ValueError) as excinfo:
        f.b += 20
    assert ('b: Got 110; Expected a maximum of 100' in str(excinfo.value))
def test_too_large2():
    f = Foo(b=90)
    with raises(ValueError) as excinfo:
        f.b += 20
    assert ('b: Got 110; Expected a maximum of 100' in str(excinfo.value))