Kaydet (Commit) 71be984b authored tarafından Finn Bock's avatar Finn Bock

Align the number of %s with the number of format arguments.


This closes patch "[ #490330 ] String format bug in test_b2."
üst 44b3f76a
......@@ -99,8 +99,8 @@ for x in 2, 2L, 2.0:
except TypeError:
pass
else:
raise TestFailed("3-arg float pow() should have "
"raised TypeError %r" % (x, y, z))
raise TestFailed("3-arg float pow(%s, %s, %s) should "
"have raised TypeError" % (x, y, z))
else:
if fcmp(pow(x, y, z), 24.0):
raise TestFailed, 'pow(%s, %s, %s)' % (x, y, z)
......
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