bg JddlmZddlZddlZddlmZGddeZdS))TestCaseN)StringIOc eZdZdZdZdZdS) TestIndentc ,dgdggdddddidd d g}tjd }tj|}tj|d d d}tj|dd d}tj|dd d}tj|}tj|}tj|} tj|} |||||||| ||| ||||d d|||d d|||dS)Nblorpiewhoopsz d-shtaeouz d-nthiouhz i-vhbjkhnthniftyWyesF)field morefielda3 [ [ "blorpie" ], [ "whoops" ], [], "d-shtaeou", "d-nthiouh", "i-vhbjkhnth", { "nifty": 87 }, { "field": "yes", "morefield": false } ] T,: )indent sort_keys separatorsz )textwrapdedentjsondumpsloads assertEqualreplace) selfhexpectd1d2d3d4h1h2h3h4s o/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib64/python3.11/site-packages/simplejson/tests/test_indent.py test_indentzTestIndent.test_indents[8*b+{ r]e%@@ C" ,Z]] Z$$; O O O Z$$; O O O Z!t L L L Z^^ Z^^ Z^^ Z^^ Q Q Q Q V^^D$77888 V^^D$77888 V$$$$$cNddifd}|dd|dddS)Nctj|}||t}tj||||dS)Nr)rrrrdumpgetvalue)rexpectedr!siorrs r)checkz&TestIndent.test_indent0..check:sqAf---B   R * * ***C IaV , , , ,   S\\^^X 6 6 6 6 6r+rz { "3": 1 }z{"3": 1})rr5rs` @r) test_indent0zTestIndent.test_indent08sW F 7 7 7 7 7 7 a    dJr+cgd}d}d}||tj|dd||tj|dd||tj|ddS) N)r.rr-z[ 1, 2, 3, 4 ]z[ 1, 2, 3, 4 ]r)z, r)rrrr0)rrr)rlstr expect_spacess r)test_separatorszTestIndent.test_separatorsGsii&0    Js1 > > > @ @ @   Js1 = = = ? ? ?   Js1 % % % ' ' ' ' 'r+N)__name__ __module__ __qualname__r*r7r<r6r+r)rrsB.%.%.%`    '''''r+r)unittestrr simplejsonrsimplejson.compatrrr6r+r)rCs|&&&&&&O'O'O'O'O'O'O'O'O'O'r+