Closed songww closed 5 years ago
TestCase will failed if validator is number type and a string value given.
TypeSystem now handles all the validtion aspects https://github.com/encode/typesystem And, yes it'll allow coercion from string types to numbers or whatever, unless you use .validate(value, strict=True)
.validate(value, strict=True)
TestCase will failed if validator is number type and a string value given.