On 02/18/2014 07:42 PM, Wolfgang Kerzendorf wrote:
>
> In tardis/io/default_conf_test/conf_def.yaml:
>
> > @@ -0,0 +1,74 @@
> > +value_test:
> > +    integer:
> > +        property_type: int
> > +        default: 99.1
>
> So the default is a non-int. but the type is int. What happens then?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/tardis-sn/tardis/pull/80/files#r9835481>.
>
Hi,
the following error should be raised
raise ValueError('Default value violates property constraint.')