def test_not_decimal_type():
    with raises(TypeError) as excinfo:
        Foo(a={})
    assert ('a: ' in str(excinfo.value))
def test_not_decimal_type():
    with raises(TypeError) as excinfo:
        Foo(a={})
    assert ('a: ' in str(excinfo.value))