File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -558,18 +558,18 @@ def test_decode_number_with_32bit_sign_bit(self, val):
558558
559559 def test_encode_big_escape (self ):
560560 # Make sure no Exception is raised.
561+ base = "\u00e5 " .encode ()
562+ escape_input = base * 1024 * 1024 * 2
561563 for _ in range (10 ):
562- base = "\u00e5 " .encode ()
563- escape_input = base * 1024 * 1024 * 2
564564 ujson .ujson_dumps (escape_input )
565565
566566 def test_decode_big_escape (self ):
567567 # Make sure no Exception is raised.
568- for _ in range (10 ):
569- base = "\u00e5 " .encode ()
570- quote = b'"'
568+ base = "\u00e5 " .encode ()
569+ quote = b'"'
571570
572- escape_input = quote + (base * 1024 * 1024 * 2 ) + quote
571+ escape_input = quote + (base * 1024 * 1024 * 2 ) + quote
572+ for _ in range (10 ):
573573 ujson .ujson_loads (escape_input )
574574
575575 def test_to_dict (self ):
You can’t perform that action at this time.
0 commit comments