From db290f0162bb4c51a07a970c8c5cd61a80f48e71 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Walter=20D=C3=B6rwald?= Date: Sat, 5 May 2007 14:12:24 +0000 Subject: [PATCH] Fix %c overflow test. --- Lib/test/test_str.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_str.py b/Lib/test/test_str.py index 6869941b4f..2936dcaa5e 100644 --- a/Lib/test/test_str.py +++ b/Lib/test/test_str.py @@ -17,7 +17,7 @@ class StrTest( def test_formatting(self): string_tests.MixinStrUnicodeUserStringTest.test_formatting(self) - self.assertRaises(OverflowError, '%c'.__mod__, 0x1234) + self.assertRaises(OverflowError, '%c'.__mod__, 0x12341234) def test_iterators(self): # Make sure str objects have an __iter__ method -- 2.40.0