Use A-label strings in tests (#4374)
We already have coverage of the U-label deprecation warnings in
test_x509_ext.py; see TestRFC822Name.test_idna and
TestUniformResourceIdentifier.test_idna_no_port
diff --git a/tests/x509/test_x509.py b/tests/x509/test_x509.py
index 5905e33..a866d81 100644
--- a/tests/x509/test_x509.py
+++ b/tests/x509/test_x509.py
@@ -3121,9 +3121,9 @@
),
x509.RFC822Name(u"test@example.com"),
x509.RFC822Name(u"email"),
- x509.RFC822Name(u"email@em\xe5\xefl.com"),
+ x509.RFC822Name(u"email@xn--eml-vla4c.com"),
x509.UniformResourceIdentifier(
- u"https://\u043f\u044b\u043a\u0430.cryptography"
+ u"https://xn--80ato2c.cryptography"
),
x509.UniformResourceIdentifier(
u"gopher://cryptography:70/some/path"