
    3hh                      l    S SK r S SKJr  S SKJrJr   " S S5      r " S S\\5      r " S S	\\5      rg)
    N)StringIO)PyTestCTestc                        \ rS rSrS rS rSrg)
TestIndent   c           
      r   S/S// SSSSS0SS	S
./n[         R                  " S5      nU R                  U5      nU R                  USSSS9nU R                  USSSS9nU R                  USSS9nU R                  USSS9nU R                  U5      nU R                  U5      n	U R                  U5      n
U R	                  X5        U R	                  X5        U R	                  X5        U R	                  XBR                  S5      5        U R	                  XR5        U R	                  Xd5        U R	                  Xu5        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),z: )indent	sort_keys
separators	)r   r   )textwrapdedentdumpsloadsassertEqual
expandtabs)selfhexpectd1d2d3d4d5h1h2h3s              C/opt/python-3.13.8/usr/lib/python3.13/test/test_json/test_indent.pytest_indentTestIndent.test_indent   s5   [8*b+{Mr]e%@C  " * ZZ]ZZ!tZLZZ$$;ZOZZ!tZ4ZZ$$Z7ZZ^ZZ^ZZ^..q12$      c                 B   ^ ^ SS0mUU 4S jnU" SS5        U" S S5        g )N      c                    > TR                  TU S9nTR                  X!5        [        5       nTR                  R	                  TX0S9  TR                  UR                  5       U5        g )N)r   )r   r   r   jsondumpgetvalue)r   expectedr    sior   r   s       r(   check&TestIndent.test_indent0.<locals>.check4   sT    Af-BR**CIINN1cN1S\\^X6r+   r   z
{
"3": 1
}z{"3": 1} )r   r5   r   s   ` @r(   test_indent0TestIndent.test_indent02   s'    F	7 	a dJr+   r7   N)__name__
__module____qualname____firstlineno__r)   r8   __static_attributes__r7   r+   r(   r   r      s    )!V r+   r   c                       \ rS rSrSrg)TestPyIndentB   r7   Nr:   r;   r<   r=   r>   r7   r+   r(   r@   r@   B   s    r+   r@   c                       \ rS rSrSrg)TestCIndentC   r7   NrB   r7   r+   r(   rD   rD   C   s    dr+   rD   )	r   ior   test.test_jsonr   r   r   r@   rD   r7   r+   r(   <module>rH      s/      (9  9 x -:v , **e *r+   