We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5b7dd commit 4853f05Copy full SHA for 4853f05
jsonschema/tests/test_validators.py
@@ -1113,12 +1113,12 @@ class InvalidRegexMixin(object):
1113
def test_invalid_patternProperty(self):
1114
with self.assertRaises(exceptions.SchemaError):
1115
self.Validator.check_schema(
1116
- {"patternProperties":{"\q": {"type": "number"}}},
+ {"patternProperties":{r"\q": {"type": "number"}}},
1117
)
1118
1119
def test_invalid_pattern(self):
1120
1121
- self.Validator.check_schema({"pattern": "\q"})
+ self.Validator.check_schema({"pattern": r"\q"})
1122
1123
def test_enum_allows_empty_arrays(self):
1124
"""
0 commit comments