Kaydet (Commit) 4bc80853 authored tarafından Steve Purcell's avatar Steve Purcell

patch 418489 from Andrew Dalke for string format bug

üst 1ee77d9b
...@@ -443,7 +443,7 @@ class TestLoader: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment