summaryrefslogtreecommitdiffstats
path: root/Lib/unittest.py
diff options
context:
space:
mode:
authorSteve Purcell <steve@pythonconsulting.com>2001-05-10 01:28:40 (GMT)
committerSteve Purcell <steve@pythonconsulting.com>2001-05-10 01:28:40 (GMT)
commit4bc808533f6f2d57c31493f6bb8f18594413fb5c (patch)
tree69c541130ed70f3264882c4dc064305744a1708b /Lib/unittest.py
parent1ee77d9b71dab3b42b3c00760216cc4955a3cfeb (diff)
downloadcpython-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.py2
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