diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-08-13 20:43:46 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-08-13 20:43:46 (GMT) |
commit | 22dae28c1a683139248211707f89ae283cb669cc (patch) | |
tree | 3491cbfa51725f7c00aa5a43800d47c96ac69059 /Lib/unittest.py | |
parent | cba6e969290ece55c3380b5244b5f8d1ac591643 (diff) | |
download | cpython-22dae28c1a683139248211707f89ae283cb669cc.zip cpython-22dae28c1a683139248211707f89ae283cb669cc.tar.gz cpython-22dae28c1a683139248211707f89ae283cb669cc.tar.bz2 |
Add a missing call to _strclass().
Diffstat (limited to 'Lib/unittest.py')
-rw-r--r-- | Lib/unittest.py | 2 |
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>" % \ |