summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_str.py2
1 files changed, 1 insertions, 1 deletions
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