Make X509NameTests Python 2.3 compatible
diff --git a/test/test_crypto.py b/test/test_crypto.py
index 48b70e0..c55a979 100644
--- a/test/test_crypto.py
+++ b/test/test_crypto.py
@@ -8,15 +8,16 @@
 from OpenSSL.crypto import X509, X509Name, X509NameType
 
 
-class PKeyTests(TestCase):
-    """
-    Unit tests for L{OpenSSL.crypto.PKey}.
-    """
+class _Python23TestCaseHelper:
     # Python 2.3 compatibility.
     def assertTrue(self, *a, **kw):
         return self.failUnless(*a, **kw)
 
 
+class PKeyTests(TestCase, _Python23TestCaseHelper):
+    """
+    Unit tests for L{OpenSSL.crypto.PKey}.
+    """
     def test_construction(self):
         """
         L{PKey} takes no arguments and returns a new L{PKeyType} instance.
@@ -113,7 +114,7 @@
 
 
 
-class X509NameTests(TestCase):
+class X509NameTests(TestCase, _Python23TestCaseHelper):
     """
     Unit tests for L{OpenSSL.crypto.X509Name}.
     """