diff options
author | Steve Purcell <steve@pythonconsulting.com> | 2001-05-10 01:28:40 (GMT) |
---|---|---|
committer | Steve Purcell <steve@pythonconsulting.com> | 2001-05-10 01:28:40 (GMT) |
commit | 4bc808533f6f2d57c31493f6bb8f18594413fb5c (patch) | |
tree | 69c541130ed70f3264882c4dc064305744a1708b /Lib/unittest.py | |
parent | 1ee77d9b71dab3b42b3c00760216cc4955a3cfeb (diff) | |
download | cpython-4bc808533f6f2d57c31493f6bb8f18594413fb5c.zip cpython-4bc808533f6f2d57c31493f6bb8f18594413fb5c.tar.gz cpython-4bc808533f6f2d57c31493f6bb8f18594413fb5c.tar.bz2 |
patch 418489 from Andrew Dalke for string format bug
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 72414fa..c3faa10 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py @@ -443,7 +443,7 @@ class TestLoader: if not isinstance(test, TestCase) and \ not isinstance(test, TestSuite): raise ValueError, \ - "calling %s returned %s, not a test" % obj,test + "calling %s returned %s, not a test" % (obj,test) return test else: raise ValueError, "don't know how to make test from: %s" % obj |