
    <i
                     B    S SK Jr  S SKrS SKrS SKJr   " S S\5      rg)    )TestCaseN)StringIOc                   &    \ rS rSrS rS rS rSrg)
TestIndent   c           
         S/S// SSSSS0SS	S
./n[         R                  " S5      n[        R                  " U5      n[        R                  " USSSS9n[        R                  " USSSS9n[        R                  " USSSS9n[        R                  " U5      n[        R                  " U5      n[        R                  " U5      n	[        R                  " U5      n
U R                  Xq5        U R                  X5        U R                  X5        U R                  X5        U R                  XRR                  SS5      5        U R                  XbR                  SS5      5        U R                  XB5        g )Nblorpiewhoopsz	d-shtaeouz	d-nthiouhzi-vhbjkhnthniftyW   yesF)field	morefielda3          [
        	[
        		"blorpie"
        	],
        	[
        		"whoops"
        	],
        	[],
        	"d-shtaeou",
        	"d-nthiouh",
        	"i-vhbjkhnth",
        	{
        		"nifty": 87
        	},
        	{
        		"field": "yes",
        		"morefield": false
        	}
        ]	T,: )indent	sort_keys
separatorsz     )textwrapdedentjsondumpsloadsassertEqualreplace)selfhexpectd1d2d3d4h1h2h3h4s              V/home/james-whalen/.local/lib/python3.13/site-packages/simplejson/tests/test_indent.pytest_indentTestIndent.test_indent   s8   [8*b+{r]e%@C  " , ZZ]ZZ$$;OZZ$$;OZZ!tLZZ^ZZ^ZZ^ZZ^^^D$78^^D$78 	$    c                 B   ^ ^ SS0mUU 4S jnU" SS5        U" S S5        g )N      c                    > [         R                  " TU S9nTR                  X!5        [        5       n[         R                  " TX0S9  TR                  UR                  5       U5        g )Nr   )r   r   r   r   dumpgetvalue)r   expectedr"   sior    r   s       r*   check&TestIndent.test_indent0.<locals>.check:   sL    Af-BR**CIIa,S\\^X6r-   r   z
{
"3": 1
}z{"3": 1} )r   r7   r    s   ` @r*   test_indent0TestIndent.test_indent08   s'    F	7 	a dJr-   c           	          / SQnSnSnU R                  U[        R                  " USSS95        U R                  U[        R                  " USSS95        U R                  U[        R                  " USS95        g )	N)r0   r   r/      z[
1,
2,
3,
4
]z[
1, 
2, 
3, 
4
]r   )z, r   )r   r   r   r2   )r   r   r   )r   lstr!   expect_spacess       r*   test_separatorsTestIndent.test_separatorsG   sw    &0JJs1>	@ 	JJs1=	? 	JJs1%	'r-   r9   N)__name__
__module____qualname____firstlineno__r+   r:   r@   __static_attributes__r9   r-   r*   r   r      s    .%` 'r-   r   )unittestr   r   
simplejsonr   simplejson.compatr   r   r9   r-   r*   <module>rJ      s       &O' O'r-   