]> granicus.if.org Git - python/commitdiff
Add a missing call to _strclass().
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 13 Aug 2002 20:43:46 +0000 (20:43 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 13 Aug 2002 20:43:46 +0000 (20:43 +0000)
Lib/unittest.py

index 2714a5884f58c7723ecc6b7ce6ea11d4a211fafa..64d54d8b7df26a03897d8cb87b0f8dc6ff40af1d 100644 (file)
@@ -192,7 +192,7 @@ class TestCase:
         return "%s.%s" % (_strclass(self.__class__), self.__testMethodName)
 
     def __str__(self):
-        return "%s (%s)" % (self.__testMethodName, self.__class__)
+        return "%s (%s)" % (self.__testMethodName, _strclass(self.__class__))
 
     def __repr__(self):
         return "<%s testMethod=%s>" % \