cpython: a78ebf9aed06 (original) (raw)

--- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -1114,19 +1114,19 @@ class MixinStrUnicodeUserStringTest: self.checkraises(TypeError, '%10.*f', 'mod', ('foo', 42.)) self.checkraises(ValueError, '%10', 'mod', (42,))

class X(object): pass self.checkraises(TypeError, 'abc', 'mod', X())