def test_too_large():
    with raises(ValueError) as excinfo:
        Foo(b=1000)
    assert ('b: Got 1000; Expected a maximum of 100' in str(excinfo.value))
def test_too_large():
    with raises(ValueError) as excinfo:
        Foo(b=1000)
    assert ('b: Got 1000; Expected a maximum of 100' in str(excinfo.value))