summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-08-13 20:43:46 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-08-13 20:43:46 (GMT)
commit22dae28c1a683139248211707f89ae283cb669cc (patch)
tree3491cbfa51725f7c00aa5a43800d47c96ac69059 /Lib
parentcba6e969290ece55c3380b5244b5f8d1ac591643 (diff)
downloadcpython-22dae28c1a683139248211707f89ae283cb669cc.zip
cpython-22dae28c1a683139248211707f89ae283cb669cc.tar.gz
cpython-22dae28c1a683139248211707f89ae283cb669cc.tar.bz2
Add a missing call to _strclass().
Diffstat (limited to 'Lib')
-rw-r--r--Lib/unittest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest.py b/Lib/unittest.py
index 2714a58..64d54d8 100644
--- a/Lib/unittest.py
+++ b/Lib/unittest.py
@@ -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>" % \