in fact, commonName is a native string
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 @@
         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)