From c37d11e1ac05d70a75b86fcdac0b46cdeda8d455 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Mon, 30 Jul 2018 13:41:34 -0700 Subject: 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 --- tests/x509/test_x509.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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" -- cgit v1.2.3