mirror of
https://github.com/python/cpython.git
synced 2025-08-29 13:15:11 +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 \
|
if not isinstance(test, TestCase) and \
|
||||||
not isinstance(test, TestSuite):
|
not isinstance(test, TestSuite):
|
||||||
raise ValueError, \
|
raise ValueError, \
|
||||||
"calling %s returned %s, not a test" % obj,test
|
"calling %s returned %s, not a test" % (obj,test)
|
||||||
return test
|
return test
|
||||||
else:
|
else:
|
||||||
raise ValueError, "don't know how to make test from: %s" % obj
|
raise ValueError, "don't know how to make test from: %s" % obj
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue