aboutsummaryrefslogtreecommitdiffstats
path: root/tests/x509
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2018-07-30 13:41:34 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2018-07-30 16:41:34 -0400
commitc37d11e1ac05d70a75b86fcdac0b46cdeda8d455 (patch)
treee973ef767e9cfe67090b63359567fa620ba1f8ce /tests/x509
parent4b958d16569f87cc6499f03ce96a1b6cc9a0ea08 (diff)
downloadcryptography-c37d11e1ac05d70a75b86fcdac0b46cdeda8d455.tar.gz
cryptography-c37d11e1ac05d70a75b86fcdac0b46cdeda8d455.tar.bz2
cryptography-c37d11e1ac05d70a75b86fcdac0b46cdeda8d455.zip
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
Diffstat (limited to 'tests/x509')
-rw-r--r--tests/x509/test_x509.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/x509/test_x509.py b/tests/x509/test_x509.py
index 5905e335..a866d813 100644
--- a/tests/x509/test_x509.py
+++ b/tests/x509/test_x509.py
@@ -3121,9 +3121,9 @@ class TestCertificateSigningRequestBuilder(object):
),
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"