https://github.com/keleshev/schema/issues/338 --- schema-0.7.8/test_schema.py.orig +++ schema-0.7.8/test_schema.py @@ -1084,7 +1084,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "my-id", "properties": { - "username": {"type": "string", "pattern": "^([a-zA-Z_][a-zA-Z0-9_]*)\/$"} + "username": {"type": "string", "pattern": r"^([a-zA-Z_][a-zA-Z0-9_]*)\/$"} }, "required": [], "additionalProperties": False,