summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--OpenSSL/test/test_crypto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSSL/test/test_crypto.py b/OpenSSL/test/test_crypto.py
index 8ac80c0..9b49213 100644
--- a/OpenSSL/test/test_crypto.py
+++ b/OpenSSL/test/test_crypto.py
@@ -895,7 +895,7 @@ class X509NameTests(TestCase):
cert = load_certificate(FILETYPE_PEM, nulbyteSubjectAltNamePEM)
subject = cert.get_subject()
self.assertEqual(
- b("null.python.org\x00example.org"), subject.commonName)
+ "null.python.org\x00example.org", subject.commonName)