Given.
$ cat schema.json
{
"type" : "object",
"properties" : {
"price" : {"type" : "number"},
"name" : {"type" : "string"}
}
}
$ cat sample.json
{"name" : "Eggs", "price" : "xxx"}
When running with Python 2, the error message prefixes each field with u.
$ jsonschema -i sample.json schema.json
xxx: u'xxx' is not of type u'number'
For Python 3 there is no u prefix.
xxx: 'xxx' is not of type 'number'
That's was the reason of tests failure in Poetry - https://github.com/python-poetry/poetry-core/pull/99/checks?check_run_id=1236052810