From 0a621bf5da576d7aab394e5bdc342e2e8b1cbaa2 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 22 Apr 2015 09:22:56 -0500 Subject: return only an int for unsupported general name type, update docs --- tests/test_x509_ext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_x509_ext.py') diff --git a/tests/test_x509_ext.py b/tests/test_x509_ext.py index c17beba5..1283fca7 100644 --- a/tests/test_x509_ext.py +++ b/tests/test_x509_ext.py @@ -769,4 +769,4 @@ class TestRSASubjectAlternativeNameExtension(object): with pytest.raises(x509.UnsupportedGeneralNameType) as exc: cert.extensions - assert exc.value.type == "otherName" + assert exc.value.type == 0 -- cgit v1.2.3