diff -r de2cd04e5101 Lib/test/test_string.py --- a/Lib/test/test_string.py Wed Mar 16 16:14:43 2011 -0400 +++ b/Lib/test/test_string.py Thu Mar 17 01:00:57 2011 +0100 @@ -114,11 +114,12 @@ def test_vformat_assert(self): cls = string.Formatter() + args = () kwargs = { "i": 100 } self.assertRaises(ValueError, cls._vformat, - cls.format, "{0}", kwargs, set(), -2) + "{i}", args, kwargs, set(), -2) def test_convert_field(self): cls = string.Formatter()