Kaydet (Commit) 83e814d8 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

merge 3.4

...@@ -45,4 +45,3 @@ class TestCEncodeBasestringAscii(TestEncodeBasestringAscii, CTest): ...@@ -45,4 +45,3 @@ class TestCEncodeBasestringAscii(TestEncodeBasestringAscii, CTest):
s = "\uffff"*((2**32)//6 + 1) s = "\uffff"*((2**32)//6 + 1)
with self.assertRaises(OverflowError): with self.assertRaises(OverflowError):
self.json.encoder.encode_basestring_ascii(s) self.json.encoder.encode_basestring_ascii(s)
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