We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4bff9d commit 26eacf9Copy full SHA for 26eacf9
tests/hazmat/asn1/test_api.py
@@ -238,11 +238,8 @@ class Example:
238
def test_fail_unsupported_size_annotation(self) -> None:
239
with pytest.raises(
240
TypeError,
241
- match=re.escape(
242
- "field invalid has a SIZE annotation, but SIZE "
243
- "annotations are only supported for fields of types: "
244
- "[SEQUENCE OF, BIT STRING]"
245
- ),
+ match="field invalid has a SIZE annotation, but SIZE "
+ "annotations are only supported for fields of types: ",
246
):
247
248
@asn1.sequence
0 commit comments