mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
patch 418489 from Andrew Dalke for string format bug
This commit is contained in:
parent
1ee77d9b71
commit
4bc808533f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue