+
    Bi                        ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	t	^ RI
Ht ^ RIHt  ! R R]4      t ! R R]4      t ! R R	]4      t ! R
 R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t  ! R  R!]4      t!]PD                   ! R" R#4      4       t#]PD                   ! R$ R%4      4       t$]PD                  ! R&R'7       ! R( R)4      4       t%]PD                   ! R* R+4      4       t&]PD                   ! R, R-4      4       t']PD                   ! R. R/4      4       t( ! R0 R14      t) ! R2 R34      t* ! R4 R5]	PV                  4      t, ! R6 R7]PZ                  4      t.]/R88X  d   ]	P`                  ! 4        R# R# )9    N)cpython_onlyensure_lazy_importsc                       ] tR t^tRtR# )list2 N__name__
__module____qualname____firstlineno____static_attributes__r       '/usr/lib/python3.14/test/test_pprint.pyr   r          r   r   c                   &   a  ] tR t^t o R tRtV tR# )list3c                ,    \         P                  V 4      # N)list__repr__selfs   &r   r   list3.__repr__       }}T""r   r   Nr
   r   r   r   r   r   __classdictcell____classdict__s   @r   r   r           # #r   r   c                   &   a  ] tR t^t o R tRtV tR# )list_custom_reprc                L    R \        \        P                  V 4      4      ,          # *)lenr   r   r   s   &r   r   list_custom_repr.__repr__       3t}}T*+++r   r   Nr   r   s   @r   r"   r"           , ,r   r"   c                       ] tR t^tRtR# )tuple2r   Nr	   r   r   r   r+   r+      r   r   r+   c                   &   a  ] tR t^ t o R tRtV tR# )tuple3c                ,    \         P                  V 4      # r   )tupler   r   s   &r   r   tuple3.__repr__!   s    ~~d##r   r   Nr   r   s   @r   r-   r-       s     $ $r   r-   c                   &   a  ] tR t^$t o R tRtV tR# )tuple_custom_reprc                L    R \        \        P                  V 4      4      ,          # r$   )r&   r/   r   r   s   &r   r   tuple_custom_repr.__repr__%   s    3u~~d+,,,r   r   Nr   r   s   @r   r2   r2   $   s     - -r   r2   c                       ] tR t^(tRtR# )set2r   Nr	   r   r   r   r6   r6   (   r   r   r6   c                   &   a  ] tR t^+t o R tRtV tR# )set3c                ,    \         P                  V 4      # r   )setr   r   s   &r   r   set3.__repr__,   s    ||D!!r   r   Nr   r   s   @r   r8   r8   +   s     " "r   r8   c                   &   a  ] tR t^/t o R tRtV tR# )set_custom_reprc                L    R \        \        P                  V 4      4      ,          # r$   )r&   r:   r   r   s   &r   r   set_custom_repr.__repr__0   s    3s||D)***r   r   Nr   r   s   @r   r=   r=   /   s     + +r   r=   c                       ] tR t^3tRtR# )
frozenset2r   Nr	   r   r   r   rA   rA   3   r   r   rA   c                   &   a  ] tR t^6t o R tRtV tR# )
frozenset3c                ,    \         P                  V 4      # r   )	frozensetr   r   s   &r   r   frozenset3.__repr__7   s    !!$''r   r   Nr   r   s   @r   rC   rC   6   s     ( (r   rC   c                   &   a  ] tR t^:t o R tRtV tR# )frozenset_custom_reprc                L    R \        \        P                  V 4      4      ,          # r$   )r&   rE   r   r   s   &r   r   frozenset_custom_repr.__repr__;   s    3y))$/000r   r   Nr   r   s   @r   rH   rH   :   s     1 1r   rH   c                       ] tR t^>tRtR# )dict2r   Nr	   r   r   r   rL   rL   >   r   r   rL   c                   &   a  ] tR t^At o R tRtV tR# )dict3c                ,    \         P                  V 4      # r   )dictr   r   s   &r   r   dict3.__repr__B   r   r   r   Nr   r   s   @r   rN   rN   A   r    r   rN   c                   &   a  ] tR t^Et o R tRtV tR# )dict_custom_reprc                L    R \        \        P                  V 4      4      ,          # r$   )r&   rP   r   r   s   &r   r   dict_custom_repr.__repr__F   r(   r   r   Nr   r   s   @r   rS   rS   E   r)   r   rS   c                   X   a  ] tR t^It o Rt]P                  ! ^RR7      tV 3R ltRt	V t
R# )
dataclass1F)defaultreprc                J   < V ^8  d   Qh/ S[ ;R&   S[;R&   S[;R&   S[;R&   # )   field1field2field3field4)strintbool)formatr   s   "r   __annotate__dataclass1.__annotate__I   s5     K  K  	 
 : r   r   N)r
   r   r   r   r^   dataclassesfieldr_   __annotate_func__r   r   r   s   @r   rW   rW   I   s%      F##AE:F  r   rW   c                   6   a  ] tR t^Pt o ^tR tV 3R ltRtV tR# )
dataclass2c                    R # )0custom repr that doesn't fit within pprint widthr   r   s   &r   r   dataclass2.__repr__S   s    Ar   c                &   < V ^8  d   Qh/ S[ ;R&   # r[   ara   )rc   r   s   "r   rd   dataclass2.__annotate__P        
J r   r   N)	r
   r   r   r   rp   r   rh   r   r   r   s   @r   rj   rj   P   s     AB  r   rj   F)rY   c                   0   a  ] tR t^Vt o ^tV 3R ltRtV tR# )
dataclass3c                &   < V ^8  d   Qh/ S[ ;R&   # ro   rq   )rc   r   s   "r   rd   dataclass3.__annotate__V   rs   r   r   N)r
   r   r   r   rp   rh   r   r   r   s   @r   ru   ru   V   s     A  r   ru   c                   0   a  ] tR t^Zt o ^tV 3R ltRtV tR# )
dataclass4c                0   < V ^8  d   Qh/ R;R&   S[ ;R&   # )r[   ry   rp   brq   )rc   r   s   "r   rd   dataclass4.__annotate__Z        O  J r   r   Nr
   r   r   r   r{   rh   r   r   r   s   @r   ry   ry   Z         A  r   ry   c                   0   a  ] tR t^_t o ^tV 3R ltRtV tR# )
dataclass5c                0   < V ^8  d   Qh/ R;R&   S[ ;R&   # )r[   
dataclass6rp   r{   rq   )rc   r   s   "r   rd   dataclass5.__annotate___   r}   r   r   Nr~   r   s   @r   r   r   _   r   r   r   c                   0   a  ] tR t^dt o ^tV 3R ltRtV tR# )r   c                0   < V ^8  d   Qh/ R;R&   S[ ;R&   # )r[   r   cdrq   )rc   r   s   "r   rd   dataclass6.__annotate__d   r}   r   r   N)r
   r   r   r   r   rh   r   r   r   s   @r   r   r   d   r   r   r   c                   &   a  ] tR t^it o R tRtV tR# )Unorderablec                *    \        \        V 4      4      # r   )r`   idr   s   &r   r   Unorderable.__repr__j   s    2d8}r   r   Nr   r   s   @r   r   r   i   s      r   r   c                   P   a  ] tR t^nt o R tR tR tR tR tR t	R t
R tR	tV tR
# )	Orderablec                    Wn         R # r   _hash)r   hashs   &&r   __init__Orderable.__init__o   s    
r   c                    R # )Fr   r   others   &&r   __lt__Orderable.__lt__q   s    r   c                
    W8g  # r   r   r   s   &&r   __gt__Orderable.__gt__s   
    }r   c                
    W8H  # r   r   r   s   &&r   __le__Orderable.__le__u   r   r   c                    R # )Tr   r   s   &&r   __ge__Orderable.__ge__w   s    r   c                    WJ # r   r   r   s   &&r   __eq__Orderable.__eq__y   s
    }r   c                    WJ# r   r   r   s   &&r   __ne__Orderable.__ne__{   s      r   c                    V P                   # r   r   r   s   &r   __hash__Orderable.__hash__}   s    zzr   r   N)r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   s   @r   r   r   n   s2     ! r   r   c                   >  a  ] tR t^t o R t]R 4       tR tR tR t	R t
R tR tR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR t R t!R t"R t#R  t$R! t%R" t&R# t'R$ t(R% t)R& t*R' t+R( t,R) t-R* t.R+ t/R, t0R- t1R. t2R/t3V t4R0# )1QueryTestCasec                    \        \        ^d4      4      V n        \        \        ^4      4      V n        V P                  V P                  R&   R# )d   Ni)r   rangerp   r{   r   s   &r   setUpQueryTestCase.setUp   s3    eCj!eCj!ffsr   c                "    \        R RR04       R# )pprintrf   reNr   r   s   &r   test_lazy_importQueryTestCase.test_lazy_import   s    H}d&;<r   c           	        \         P                  ! 4       p\         P                  ! ^^(^\        P                  ! 4       RR7      p\         P                  ! ^^(^\        P                  ! 4       4      p\         P                  ! RR7      pV P	                  \
        4      ;_uu_ 4        \         P                  ! ^^(^\        P                  ! 4       R4      pRRR4       V P	                  \        \         P                  R	R7       V P	                  \        \         P                  ^ R7       V P	                  \        \         P                  R	R7       V P	                  \        \         P                  ^ R7       R#   + '       g   i     L; i)
   T)indentwidthdepthstreamcompactF
sort_dictsNr   r   r   )r   PrettyPrinterioStringIOassertRaises	TypeError
ValueError)r   pps   & r   	test_initQueryTestCase.test_init   s   !!#!!"A)+F!!!RBKKM:!!U3y))%%aQtDB **f&:&:2F*f&:&:!D*f&:&:"E*f&:&:!D *)s   $.E44F	c                   \         P                  ! 4       p^RRR^.R^^/R\        R4      RRRR	V P                  V P                  3 F  pV P                  \         P                  ! V4      R
V: 24       V P                  \         P                  ! V4      RV: 24       V P                  VP                  V4      R
V: 24       V P                  VP                  V4      RV: 24       K  	  R# )r[   g       @y               @abcs   defs   ghiTFN.expected not isrecursive for expected isreadable for )r[   r[   )	r   r   	bytearrayrp   r{   assertFalseisrecursive
assertTrue
isreadable)r   r   safes   &  r   
test_basicQueryTestCase.test_basic   s    !!#RUQFFv&eT3VVTVV%D V//5BFHJOOF--d3<@BD R^^D1BFHJOOBMM$/<@BD%r   c                    \         P                  ! R 4      ;_uu_ 4        Rp\        P                  ! V4       \        P                  ! 4       P                  V4       R R R 4       R #   + '       g   i     R # ; i)Nzthis should not fail)
contextlibredirect_stdoutr   r   )r   values   & r   test_stdout_is_None!QueryTestCase.test_stdout_is_None   sJ    ''--*EMM%   "))%0	 .---s   =A&&A7	c                   V P                   V P                  ^C&   / V n        V P                  ;V P                  ^ &   ;V P                  ^&   V P                  ^&   \        P                  ! 4       pV P                   V P                  V P                  V P                  V P                  33 F  pV P                  \        P                  ! V4      R4       V P                  \        P                  ! V4      R4       V P                  VP                  V4      R4       V P                  VP                  V4      R4       K  	  V P                  P                  4        V P                   R V P                  R V P                   V P                  V P                  V P                  V P                  33 F  pV P                  \        P                  ! V4      RV: 24       V P                  \        P                  ! V4      RV: 24       V P                  VP                  V4      RV: 24       V P                  VP                  V4      RV: 24       K  	  R# )C   zexpected isrecursivezexpected not isreadable:NNNr   r   N)
rp   r{   r   r   r   r   r   r   r   clear)r   r   ickyr   s   &   r   test_knottedQueryTestCase.test_knotted   s    VVr
,0FF2q	2DFF1Iq	!!#FFDFFDFFTVVTVV,<<DOOF..t46LMV..t46OPOOBNN402HIR]]402KL	 = 	FF1IFF1IFFDFFDFFTVVTVV,<<DV//5BFHJOOF--d3<@BD R^^D1BFHJOOBMM$/<@BD =r   c                   \         P                  ! 4       p\        4       \        \         \         P                  3 F  pV P                  \         P                  ! V4      R V: 24       V P                  \         P                  ! V4      RV: 24       V P                  VP	                  V4      R V: 24       V P                  VP                  V4      RV: 24       K  	  R# )r   zexpected not isreadable for N)r   r   objectra   r   r   r   )r   r   
unreadables   &  r   test_unreadableQueryTestCase.test_unreadable   s    !!# (C1C1CCJV//
;BLNPV..z:AKMO R^^J7BLNPR]]:6AKMO Dr   c           	        . ^ N^ NRNRNRNRN\        4       NRN\        4       N\        4       N. N\        4       N\	        4       N\        4       N\        4       N\        4       N\        4       N\        4       N\        4       N/ N\        4       N\        4       NV P                  N\        NRNRNRNRNRNRN\        R4      NRN^.N^^/NRN^^.N^^/N\        R4      N\        R4      N\        \        ^d4      4      N^^.N\        ^^.4      N\	        ^^.4      N\	        \        ^d4      4      N\        ^04      N\        ^04      N\        ^04      N\        ^04      N\        ^04      N\        ^04      N\        ^^/4      N\        ^^/4      N\        ^
RR4      NRNRNR	NR
N F  p\!        V4      pV P#                  \        P$                  ! V4      V4       V P#                  \        P$                  ! V^^ R7      P'                  RR4      V4       V P#                  \        P$                  ! VRR7      V4       V P#                  \        P(                  ! V4      V4       K  	  R	# )r   y                g         r   x   xTFN.r   r   
 underscore_numbersr   iy            g         )   r[   ir   )r   r+   r-   r   r   r:   r6   r8   rE   rA   rC   rL   rN   r   r   r   rY   assertEqualpformatreplacesaferepr)r   simplenatives   &  r   test_same_as_reprQueryTestCase.test_same_as_repr   sH   q ! T 3  C  !8%+X 7$)G u #f '+f !{	 %/L	 3=,	
 
 !7
 %*G  )/    % '+ -0 26 8A   S $%a&   !e '(V e} '-Um 6<E#J5G !u $QqEl -21Q%L ;@c
:K A3x "&qc -1!I !!~ (21# 9CA3 aV} ',QFm Rb)  !  #!  %)!  +.!F$ &\FV^^F3V<V^^F!AF%gdC0&:V^^FtLfUV__V4f=/r   c                   R p\        4       \        . RO4      \        \        V4      4      \        4       \        . RO4      \        \        V4      4      \        4       \        . RO4      \        \        V4      4      \	        4       \	        . RO4      \	        \        V4      4      \        4       \        ^^/4      \        \        \        V4      \        V4      4      4      3 F  p\        V4      pR\        V4      ,          pV P                  \        P                  ! V4      V4       V P                  \        P                  ! V^^ R7      V4       V P                  \        P                  ! V4      V4       K  	  R# )  r%   r   N)r   r[   r   )r"   r   r2   r=   rH   rS   ziprY   r&   r   r   r   r   )r   Ncontr   expecteds   &    r   #test_container_repr_override_called1QueryTestCase.test_container_repr_override_called  s    &'%g.%eAh/&(&w/&uQx0$&$W-$U1X.*,*73*584%'%q!f-%c%(58&<=D  $ZFS[(HV^^D18<V^^D!DhOV__T2H=)r   c                ^   R ^ RRR^ R^ R^ R^ RR/pR	p\         \        3 F/  pV P                  \        P                  ! V! V4      4      V4       K1  	  \        ^d4      pR
RP                  \        \        V4      4      ,          p\        \        3 F/  pV P                  \        P                  ! V! V4      4      V4       K1  	  \        \        ^d4      4      pRRP                  \        \        V4      4      ,          p\        \        3 F/  pV P                  \        P                  ! V! V4      4      V4       K1  	  \        ^d4      pRRP                  \        \        V4      4      ,          p\        \        3 F1  pV P                  \        P                  ! V! V4      ^R7      V4       K3  	  R# )RPM_calRPM_cal2i  	Speed_calcontroldesk_runtime_usmain_code_runtime_usread_io_runtime_uswrite_io_runtime_usi  z{'RPM_cal': 0,
 'RPM_cal2': 48059,
 'Speed_cal': 0,
 'controldesk_runtime_us': 0,
 'main_code_runtime_us': 0,
 'read_io_runtime_us': 0,
 'write_io_runtime_us': 43690}z[%s],
 z(%s)z[   %s]z,
    r   N)rP   rL   r   r   r   r   joinmapr`   r   r   r/   r+   )r   oexptypes   &   r   test_basic_line_wrap"QueryTestCase.test_basic_line_wrap  sT   !%q#Q!1"E+" 5MDV^^DG4c: " #Jv{{3sA;//5MDV^^DG4c: " %*v{{3sA;//FODV^^DG4c: $ #J)..S!555MDV^^DGA>D "r   c                    \        \        ^
4      4      p\        ^^^R7      pW.pRpV P                  \        P
                  ! V^^*R7      V4       RpV P                  \        P
                  ! V^^)R7      V4       R# )
   )firstsecondthirdzN[   [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
    {'first': 1, 'second': 2, 'third': 3}])r   r   za[   [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
    {   'first': 1,
        'second': 2,
        'third': 3}]N)r   r   rP   r   r   r   )r   o1o2r  r  s   &    r   test_nested_indentations&QueryTestCase.test_nested_indentationsA  sp    %)_!1-H. 	!2>I
 	!2>Ir   c                `   R p\        V4      pV P                  \        P                  ! V^R7      V4       V P                  \        P                  ! V^R7      V4       V P                  \        P                  ! V^R7      V4       V P                  \        P                  ! V^R7      R4       R# )z[[[[[[1, 2, 3],
     '1 2']]]],
 {1: [1, 2, 3],
  2: [12, 34]},
 'abc def ghi',
 ('ab cd ef',),
 set2({1, 23}),
 [[[[[1, 2, 3],
     '1 2']]]]]r   z[[[[[[1,
      2,
      3],
     '1 '
     '2']]]],
 {1: [1,
      2,
      3],
  2: [12,
      34]},
 'abc def '
 'ghi',
 ('ab cd '
  'ef',),
 set2({1,
       23}),
 [[[[[1,
      2,
      3],
     '1 '
     '2']]]]]N)evalr   r   r   )r   r  r  s   &  r   
test_widthQueryTestCase.test_widthP  s    	 N4h?4h?4h?4 7 	r   c                   a V P                  \        P                  ! R 4      R4       V P                  \        P                  ! R RR7      R4        ! V3R lR\        4      oV P                  \        P                  ! S! R4      4      R4       R	# )
i 1234567Tr   	1_234_567c                   <   <a a ] tR tRt oVV 3R ltR tRtVtV ;t# )/QueryTestCase.test_integer.<locals>.Temperatureiz  c                $   < \         SV `  SV4      # r   )super__new__)clscelsius_degreesTemperature	__class__s   &&r   r.  7QueryTestCase.test_integer.<locals>.Temperature.__new__{  s    w{ODDr   c                     V R ,           pVR R2# )gfffffq@z.2fu   °Kr   )r   kelvin_degreess   & r   r   8QueryTestCase.test_integer.<locals>.Temperature.__repr__}  s    !%(-S11r   r   )	r
   r   r   r   r.  r   r   r   __classcell__)r2  r   r1  s   @@r   r1  r+  z  s     E2 2r   r1  r  u
   1273.15°KN)r   r   r   ra   )r   r1  s   &@r   test_integerQueryTestCase.test_integerv  sc    0)<DI;W	2# 	2 	D(9:LIr   c           
     
   R ^R^R^/pV P                  \        P                  ! V4      R4       V P                  \        P                  ! W.4      R4       V P                  \        P                  ! RR^. .R	/ /4      R4       R# )
rp   r{   r   z{'a': 1, 'b': 1, 'c': 1}z4[{'a': 1, 'b': 1, 'c': 1}, {'a': 1, 'b': 1, 'c': 1}]zxy	ab
z#{5: [[]], 'xy\tab\n': (3,), (): {}}Nr   r   )r   r   r   r   r   s   & r   test_sorted_dictQueryTestCase.test_sorted_dict  s|    
 !S!S!$*,FG/B	D 	T1rdB(KL2	4r   c                    \         P                  R 4      pV P                  \        P                  ! VRR7      R4       V P                  \        P                  ! W.RR7      R4       R# )cbaFr   z!{'c': None, 'b': None, 'a': None}zF[{'c': None, 'b': None, 'a': None}, {'c': None, 'b': None, 'a': None}]N)rP   fromkeysr   r   r   r;  s   & r   test_sort_dictQueryTestCase.test_sort_dict  sM    MM% e<>ab5AT	Vr   c                   \         P                  ! 4       pV P                  \        P                  ! V^R7      R4       \         P                  ! . 4      pV P                  \        P                  ! V^R7      R4       RP                  4       p\         P                  ! \        V\        P                  ! 4       4      4      pV P                  \        P                  ! V4      R4       R# )r   r   zOrderedDict()*the quick brown fox jumped over a lazy dogzOrderedDict([('the', 0),
             ('quick', 1),
             ('brown', 2),
             ('fox', 3),
             ('jumped', 4),
             ('over', 5),
             ('a', 6),
             ('lazy', 7),
             ('dog', 8)])N)	collectionsOrderedDictr   r   r   splitr  	itertoolscountr   r   wordss   &  r   test_ordered_dictQueryTestCase.test_ordered_dict  s    ##%3_E##B'3_E<BBD##Cy/@$AB*	
	r   c                   R P                  4       p\        \        V\        P                  ! 4       4      4      p\
        P                  ! V4      pV P                  \        P                  ! V4      R4       \        P                  ! \        V\        P                  ! 4       4      4      p\
        P                  ! V4      pV P                  \        P                  ! V4      R4       R# )rD  zmappingproxy({'a': 6,
              'brown': 2,
              'dog': 8,
              'fox': 3,
              'jumped': 4,
              'lazy': 7,
              'over': 5,
              'quick': 1,
              'the': 0})a^  mappingproxy(OrderedDict([('the', 0),
                          ('quick', 1),
                          ('brown', 2),
                          ('fox', 3),
                          ('jumped', 4),
                          ('over', 5),
                          ('a', 6),
                          ('lazy', 7),
                          ('dog', 8)]))N)rG  rP   r  rH  rI  typesMappingProxyTyper   r   r   rE  rF  )r   rK  r   ms   &   r   test_mapping_proxy QueryTestCase.test_mapping_proxy  s    <BBDUIOO-./""1%* 	- 		 ##Cy/@$AB""1%* 	-+ 		,r   c                    \         P                  ! 4       p\        P                  ! V4      pV P	                  VR 4       R# )znamespace()NrO  SimpleNamespacer   r   r   r   ns	formatteds   &  r   test_empty_simple_namespace)QueryTestCase.test_empty_simple_namespace  s.    ""$NN2&	M2r   c                    \         P                  ! ^^R7      p\        P                  ! V4      pV P	                  VR4       R# )r   )rp   r{   znamespace(a=1, b=2)NrU  rW  s   &  r   test_small_simple_namespace)QueryTestCase.test_small_simple_namespace  s3    ""Q!,NN2&	$9:r   c                    \         P                  ! ^ ^^^^^^^^R7	      p\        P                  ! V^<^R7      pV P	                  VR4       R# )r   	thequickbrownfoxjumpedoverrp   lazydogr   znamespace(the=0,
          quick=1,
          brown=2,
          fox=3,
          jumped=4,
          over=5,
          a=6,
          lazy=7,
          dog=8)NrU  rW  s   &  r   test_simple_namespace#QueryTestCase.test_simple_namespace  sV    ""

 NN2R:	 	% 		r   c                     ! R  R\         P                  4      pV! ^ ^^^^^^^^R7	      p\        P                  ! V^<R7      pV P	                  VR4       R# )c                       ] tR tRtRtR# )GQueryTestCase.test_simple_namespace_subclass.<locals>.AdvancedNamespacei  r   Nr	   r   r   r   AdvancedNamespacerm    s    r   rn  r`  r   zAdvancedNamespace(the=0,
                  quick=1,
                  brown=2,
                  fox=3,
                  jumped=4,
                  over=5,
                  a=6,
                  lazy=7,
                  dog=8)NrU  )r   rn  rX  rY  s   &   r   test_simple_namespace_subclass,QueryTestCase.test_simple_namespace_subclass  s\    < 5 5<

 NN2R0	 	% 		r   c                    \         P                  ! R R4      ! 4       p\        P                  ! V4      pV P	                  VR4       R# )MyDataclasszMyDataclass()Nr   )rf   make_dataclassr   r   r   r   dcrY  s   &  r   test_empty_dataclass"QueryTestCase.test_empty_dataclass  s5    ''r:<NN2&	O4r   c                n    \        R ^{4      p\        P                  ! V4      pV P                  VR4       R# )textz3dataclass1(field1='text', field2=123, field3=False)N)rW   r   r   r   rt  s   &  r   test_small_dataclass"QueryTestCase.test_small_dataclass  s-    $NN2&	$YZr   c                    \        R \        R4      R4      p\        P                  ! W.^<^R7      pV P	                  VR4       R# )zsome fairly long textg    _BTr   z[   dataclass1(field1='some fairly long text',
               field2=10000000000,
               field3=True),
    dataclass1(field1='some fairly long text',
               field2=10000000000,
               field3=True)]N)rW   ra   r   r   r   rt  s   &  r   test_larger_dataclass#QueryTestCase.test_larger_dataclass  s>    /TDANNB82a@	 %  	!r   c                n    \        4       p\        P                  ! V^R7      pV P                  VR4       R# )   r   rl   N)rj   r   r   r   rt  s   &  r   test_dataclass_with_repr&QueryTestCase.test_dataclass_with_repr  s*    \NN2R0	$VWr   c                    \        4       p\        P                  ! V^
R7      pV P                  VR\        P
                  ! \        4       R24       R# )r  r   <z.dataclass3 object at \w+>N)ru   r   r   assertRegexr   escaper
   rt  s   &  r   test_dataclass_no_repr$QueryTestCase.test_dataclass_no_repr  sA    \NN2R0	8$%%?@	
r   c                |    \        R 4      pWn        \        P                  ! V^
R7      pV P	                  VR4       R # )Nr   z!dataclass4(a=...,
           b=1))ry   rp   r   r   r   rt  s   &  r   test_recursive_dataclass&QueryTestCase.test_recursive_dataclass%  s6    NN2R0	 % 	r   c                    \        R 4      p\        R 4      pW!n        Wn        \        P
                  ! V^
R7      pV P                  VR4       R # )Nr   zLdataclass5(a=dataclass6(c=...,
                        d=1),
           b=1))r   r   rp   r   r   r   r   )r   dc5dc6rY  s   &   r   test_cyclic_dataclass#QueryTestCase.test_cyclic_dataclass-  sE    NN3b1	 % 	r   c                   R RRR/pRp\        4       pV P                  VP                  V4      V4       R.pRpV P                  VP                  V4      V4       R.pRpV P                  VP                  V4      V4       R	# )
znames with spacesz should be presented using repr()zothers.should.not.bez	like.thisz[{'names with spaces': 'should be presented using repr()',
 others.should.not.be: like.this}z
with spacez['with space']zwithout.spacez[without.space]N)DottedPrettyPrinterr   r   )r   r  r  dotted_printerr  exp1r   exp2s   &       r   test_subclassingQueryTestCase.test_subclassing8  s     "D#[2% -.//2C8 ^//3T: //3T:r   c           	     V   V P                  \        P                  ! \        4       4      R 4       V P                  \        P                  ! \        \	        ^4      4      4      R4       V P                  \        P                  ! \        \	        ^4      4      ^R7      R4       V P                  \        P                  ! \        \	        ^4      4      ^R7      R4       V P                  \        P                  ! \        \	        ^4      4      ^R7      R4       V P                  \        P                  ! \        4       4      R4       V P                  \        P                  ! \        \	        ^4      4      4      R4       V P                  \        P                  ! \        \	        ^4      4      ^R7      R4       V P                  \        P                  ! \        \	        ^4      4      ^R7      R	4       V P                  \        P                  ! \        \	        ^4      4      ^R7      R
4       R# )zset()z	{0, 1, 2}r   z{0,
 1,
 2,
 3,
 4,
 5,
 6}z?set2({0,
      1,
      2,
      3,
      4,
      5,
      6})zset3({0, 1, 2, 3, 4, 5, 6})zfrozenset()zfrozenset({0, 1, 2})zbfrozenset({0,
           1,
           2,
           3,
           4,
           5,
           6})zifrozenset2({0,
            1,
            2,
            3,
            4,
            5,
            6})z!frozenset3({0, 1, 2, 3, 4, 5, 6})N)
r   r   r   r:   r   r6   r8   rE   rA   rC   r   s   &r   test_set_reprsQueryTestCase.test_set_reprsK  s{   .8E!H6DE!HR@ C 	 	U1XbA D 	 	U1XbA6	8 		4mD	%((;</	1	%((;2F I 	 	
58(<BG J 	 	
58(<BG<	>r   c           
       a a ^ RI o\        4       p\        R4      p\        W34      pS P                  \        P                  ! V4      RV: RV: R24       S P                  \        P                  ! V4      \        V4      4       \        R4      pV\        W34      /pS P                  \        P                  ! V4      RV: RV: RV: R24       S P                  \        P                  ! V4      \        V4      4       \        R4      p\        R4      p\        W$34      pS P                  \        P                  ! V4      \        V4      4       V V3R lp\        R4      p\        R4      pV! \        P                  ! \        W$34      4      R	V: R
V: R2R	V: R
V: R2.4       V! \        P                  ! \        \        R4      \        R4      34      4      . RO4       R# )r   Nfrozenset({z, }){z: frozenset({z})}c           	         < SP                  Y Uu. uF"  pSP                  V4      P                  4       NK$  	  up4       R # u upi r   )assertIndedentstrip)res
invariantsir   textwraps   && r   check3QueryTestCase.test_set_of_sets_reprs.<locals>.check  s5    MM#JOJq 2 8 8 :JOPOs   (A
z
                frozenset({z,
                           z})
                )r   xyz)onetwo)r  qwerty)abcdspam)zregular stringzother string)zthird stringzone more string)zxyz very-very long stringzqwerty is also absurdly long)zabcd is even longer that beforezspam is not so long)a%  
                frozenset({frozenset({'abcd is even longer that before',
                                      'spam is not so long'}),
                           frozenset({'qwerty is also absurdly long',
                                      'xyz very-very long string'})})
                a%  
                frozenset({frozenset({'abcd is even longer that before',
                                      'spam is not so long'}),
                           frozenset({'xyz very-very long string',
                                      'qwerty is also absurdly long'})})
                a%  
                frozenset({frozenset({'qwerty is also absurdly long',
                                      'xyz very-very long string'}),
                           frozenset({'abcd is even longer that before',
                                      'spam is not so long'})})
                a%  
                frozenset({frozenset({'qwerty is also absurdly long',
                                      'xyz very-very long string'}),
                           frozenset({'spam is not so long',
                                      'abcd is even longer that before'})})
                )r  rE   r   r   r   rY   )r   fs0fs1datafs2fsr  r  s   f      @r   test_set_of_sets_reprs$QueryTestCase.test_set_of_sets_reprsw  s   . 	 k'#$-25s;	=-tDz:'Yz*+-8;S#F	H-tDz: )*()z"+T"X6	Q :;;<NN9cZ01
 C! C!		
 	NN     	 	*	
r   c                X   Rp^^^^^^^//////p^^^^^^. ......pV P                  \        P                  ! V4      \        V4      4       V P                  \        P                  ! V4      \        V4      4       V P                  \        P                  ! V4      \        V4      4       RpRpRpV P                  \        P                  ! V^R7      V4       V P                  \        P                  ! V^R7      V4       V P                  \        P                  ! V^R7      V4       R# )r   z
(1, (...))z
{1: {...}}z
[1, [...]]r   N)r   )r[   )r   )r   )      )r   r   r   rY   )r   nested_tuplenested_dictnested_list	lv1_tuplelv1_dictlv1_lists   &      r   
test_depthQueryTestCase.test_depth  s   11q1q1a&k"23451q1q1b'l"34565tL7IJ4d;6GH4d;6GH 	A>	J1=xH1=xHr   c                >   ^p\        V4       Uu. uF  p\        4       NK  	  pp\        P                  ! V4       \	        V\
        R7      pR pV P                  V! \        P                  ! \        V4      4      4      RRP                  \        \        V4      4      ,           R,           4       V P                  V! \        P                  ! \        V4      4      4      RRP                  \        \        V4      4      ,           R,           4       V P                  V! \        P                  ! \        P                  V4      4      4      RRP                  R V 4       4      ,           R,           4       V P                  \        P                  ! \        ^ ^^ /4      R	\        \        4      ,           R
,           4       RR.pV P                  \        P                  ! \        P                  V^ 4      4      R\!        \	        V\
        R7      4      ,          4       R# u upi )r  )keyc                 F    V P                  R R4      P                  RR4      # )r   r   r   )r   )ss   &r   <lambda><QueryTestCase.test_sort_unorderable_values.<locals>.<lambda>  s    !))C,44T"=r   r  ,}r  r  c              3   4   "   T F  pR V,          x  K  	  R# 5i)z%r:NoneNr   ).0ks   & r   	<genexpr>=QueryTestCase.test_sort_unorderable_values.<locals>.<genexpr>  s     8%Q9q==%s   z{1: 0, z: 0}Nz{%r: 0, %r: 0})r   r   )r   r   randomshufflesortedr   r   r   r   r:   r  r  rY   rE   rP   r@  r/   )r   nr  keysskeyscleans   &     r   test_sort_unorderable_values*QueryTestCase.test_sort_unorderable_values  s   ',Qx0x!x0tt$=v~~c$i89#((3tU+,,s2	4v~~io>?CHHSu%566=	?v~~dmmD.ABC#((8%8883>	@ 	aA(>?"T+%66>	@ gdA(>?)E&22F,GG	I% 1s   Hc                D   \        4       p\        \        V4      4      pV P                  W4       V P                  \	        \        V4      4      \	        \        V4      4      4       V P                  \        W!.4      W.4       V P                  \        W.4      W.4       V P                  \        P                  ! \        W!.4      ^R7      RV: RV: R24       V P                  \        P                  ! \        W.4      ^R7      RV: RV: R24       V P                  \        P                  ! \        P                  W!.4      ^R7      RV: RV: R24       V P                  \        P                  ! \        P                  W.4      ^R7      RV: RV: R24       R# )r   r   r  r  r  z	: None,
 z: None}N)r   r   r   
assertLessr`   r  r   r  r   r   r:   rP   r@  )r   rp   r{   s   &  r   *test_sort_orderable_and_unorderable_values8QueryTestCase.test_sort_orderable_and_unorderable_values  s!   Md1gDGc$q'l3!0!0QF1=)*A.	0QF1=)*A.	0 	qf(=QG56:	<qf(=QG56:	<r   c           
        R pV P                  \        P                  ! V^R7      R4       V P                  \        P                  ! R^RVR^/^R7      R4       RpV P                  \        P                  ! V^DR7      \        V4      4       V P                  \        P                  ! V^R7      R4       V P                  \        P                  ! V^R7      R	4       V P                  \        P                  ! V.....^#R7      R
4       V P                  \        P                  ! V.....^R7      R4       V P                  \        P                  ! V.....^R7      R4       RpV P                  \        P                  ! V^PR7      \        V4      4       V P                  \        P                  ! R4      R4       V^
,          p\	        ^^(4       Fx  p\        P                  ! W$R7      pV P                  \        V4      V4       \        P                  ! V.^,          VR7      pV P                  \        V4      V.^,          4       Kz  	  R# )rD  r   6('the quick brown '
 'fox jumped over '
 'a lazy dog')rp   r{   r   zW{'a': 1,
 'b': 'the quick brown '
      'fox jumped over '
      'a lazy dog',
 'c': 2}u@   Portons dix bons "whiskys"
à l'avocat goujat	 qui fumait au zoouN   ('Portons dix bons "whiskys"\n'
 "à l'avocat goujat\t qui "
 'fumait au zoo')uV   ('Portons dix bons '
 '"whiskys"\n'
 "à l'avocat "
 'goujat\t qui '
 'fumait au zoo')u^   [[[[['Portons dix bons "whiskys"\n'
     "à l'avocat goujat\t qui "
     'fumait au zoo']]]]]un   [[[[['Portons dix bons '
     '"whiskys"\n'
     "à l'avocat "
     'goujat\t qui '
     'fumait au zoo']]]]]uv   [[[[['Portons dix '
     'bons "whiskys"\n'
     "à l'avocat "
     'goujat\t qui '
     'fumait au '
     'zoo']]]]]r   ''Ndxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)r   r   r   rY   r   r$  )r   rd  specialunwrappabler   rY  s   &     r   test_str_wrapQueryTestCase.test_str_wrap!  s   :26 9 	 	ac3(B.024	 Yr:DMJr: = 	 	r: = 	 	WI;-(9D G 	 	WI;-(9D G 	 	WI;-(9D G 	  2>[@QR+T221b\Ew<IT)_g6y1}EBIT)_wi!m<	 "r   c           	     :   \        ^4       Uu. uF  p\        \        W,          4      4      NK  	  up\        ^4       Uu. uF  p\        \        V4      4      NK  	  up,           pRpV P                  \        P                  ! V^/RR7      V4       R# u upi u upi )r  z[[], [0], [0, 1, 2, 3],
 [0, 1, 2, 3, 4, 5, 6, 7, 8],
 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
  14, 15],
 [], [0], [0, 1], [0, 1, 2], [0, 1, 2, 3],
 [0, 1, 2, 3, 4]]Tr   r   N)r   r   r   r   r   )r   r  r  r  s   &   r   test_compactQueryTestCase.test_compact]  sv    */(3(Qd5< (3&+Ah/hd58nh/0 	TBHM 4/s   #B Bc                   ^p^
p^ .V,          p\        V^,
          4       F  pV.pK  	  \        V^,          ^,           V^V,          ,           ^,
          4       Fk  p\        P                  ! W5RR7      P                  4       p\	        \        \        V4      4      pV P                  Wu4       V P                  Wu^,
          4       Km  	  R# )r  Tr  N)	r   r   r   
splitlinesmaxr  r&   assertLessEqualassertGreater)r   levelsnumberr  r  wlinesmaxwidths   &       r   test_compact_width QueryTestCase.test_compact_widthi  s    C&Lvz"AA #vzA~vF
':Q'>?ANN1t<GGIE3sE?+H  -xQ/	 @r   c           
        V P                  \        P                  ! R ^R7      R4       V P                  \        P                  ! R^R7      R4       RpV P                  \        P                  ! V^R7      \        V4      4       V P                  \        P                  ! V^R7      R4       V P                  \        P                  ! V^R7      R4       V P                  \        P                  ! V^R7      R4       \	        \        ^4      4      pV P                  \        P                  ! V^=R7      \        V4      4       V P                  \        P                  ! V^0R7      R4       V P                  \        P                  ! V^ R7      R	4       V P                  \        P                  ! V^R7      R
4       V P                  \        P                  ! R^RVR^/^R7      R4       V P                  \        P                  ! R^RVR^/^R7      R4       V P                  \        P                  ! V......^R7      R4       V P                  \        P                  ! V......^)R7      R4       \        ^^@4       Fx  p\        P                  ! W#R7      pV P                  \        V4      V4       \        P                  ! V.^,          VR7      pV P                  \        V4      V.^,          4       Kz  	  R# )r   r   zb''s   abcdzb'abcd'   abcdefghijklmnopqrstuvwxyzz$(b'abcdefghijkl'
 b'mnopqrstuvwxyz')z)(b'abcdefghijkl'
 b'mnopqrstuvwx'
 b'yz')zD(b'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b'
 b'\x0c\r\x0e\x0f')zI(b'\x00\x01\x02\x03'
 b'\x04\x05\x06\x07\x08\t\n\x0b'
 b'\x0c\r\x0e\x0f')zN(b'\x00\x01\x02\x03'
 b'\x04\x05\x06\x07'
 b'\x08\t\n\x0b'
 b'\x0c\r\x0e\x0f')rp   r{   r   zJ{'a': 1,
 'b': b'abcdefghijkl'
      b'mnopqrstuvwx'
      b'yz',
 'c': 2}zJ{'a': 1,
 'b': b'abcdefgh'
      b'ijklmnop'
      b'qrstuvwxyz',
 'c': 2}z3[[[[[[b'abcdefghijklmnop'
      b'qrstuvwxyz']]]]]]zS[[[[[[b'\x00\x01\x02\x03\x04\x05\x06\x07'
      b'\x08\t\n\x0b\x0c\r\x0e\x0f']]]]]]N)r   r   r   rY   bytesr   r$  )r   lettersr  r   rY  s   &    r   test_bytes_wrapQueryTestCase.test_bytes_wrapu  s}   15u=q99E/r:DMJr: = 	 	r: = 	 	r: = 	 b	"r:DMJr: = 	 	r: = 	 	q9 < 	
 	agsA(F.024	 	agsA(F.024	 	gYK=/):(;2F I 	 	gYK=/):(;2F I5 	6 1b\Ew<IT)_g6y1}EBIT)_wi!m<	 "r   c           
     X   V P                  \        P                  ! \        4       ^R7      R4       \        R4      pV P                  \        P                  ! V^(R7      \	        V4      4       V P                  \        P                  ! V^R7      R4       V P                  \        P                  ! V^R7      R4       V P                  \        P                  ! V^R7      R4       \        \        ^4      4      pV P                  \        P                  ! V^HR7      \	        V4      4       V P                  \        P                  ! V^9R7      R4       V P                  \        P                  ! V^)R7      R4       V P                  \        P                  ! V^R7      R4       V P                  \        P                  ! R	^R
VR^/^R7      R4       V P                  \        P                  ! V.....^%R7      R4       V P                  \        P                  ! V.....^2R7      R4       R# )r   r   zbytearray(b'')r  z6bytearray(b'abcdefghijkl'
          b'mnopqrstuvwxyz')zDbytearray(b'abcdefghijkl'
          b'mnopqrstuvwx'
          b'yz')zVbytearray(b'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b'
          b'\x0c\r\x0e\x0f')zdbytearray(b'\x00\x01\x02\x03'
          b'\x04\x05\x06\x07\x08\t\n\x0b'
          b'\x0c\r\x0e\x0f')zrbytearray(b'\x00\x01\x02\x03'
          b'\x04\x05\x06\x07'
          b'\x08\t\n\x0b'
          b'\x0c\r\x0e\x0f')rp   r{   r   zi{'a': 1,
 'b': bytearray(b'abcdefghijkl'
                b'mnopqrstuvwx'
                b'yz'),
 'c': 2}zE[[[[[bytearray(b'abcdefghijklmnop'
               b'qrstuvwxyz')]]]]]ze[[[[[bytearray(b'\x00\x01\x02\x03\x04\x05\x06\x07'
               b'\x08\t\n\x0b\x0c\r\x0e\x0f')]]]]]N)r   r   r   r   rY   r   )r   r  r  s   &  r   test_bytearray_wrap!QueryTestCase.test_bytearray_wrap  s   	1=?OP9:r:DMJr: =  	! 	r: = 	 	r: = 	 E"I&r:DMJr: =$ 	% 	r: =$ 	% 	q9 <$ 	%
 	agsA(F.024	 	WI;-(9D G& 	' 	WI;-(9D G> 	?r   c                f   \         P                  ! \        4      pV P                  \        P
                  ! V^R7      R4       RP                  4       p\         P                  ! \        \        V\        P                  ! 4       4      4      pV P                  \        P
                  ! V4      R4       R# )r   r   zdefaultdict(<class 'int'>, {})rD  zdefaultdict(<class 'int'>,
            {'a': 6,
             'brown': 2,
             'dog': 8,
             'fox': 3,
             'jumped': 4,
             'lazy': 7,
             'over': 5,
             'quick': 1,
             'the': 0})N)
rE  defaultdictra   r   r   r   rG  r  rH  rI  rJ  s   &  r   test_default_dictQueryTestCase.test_default_dict  sz    ##C(35UV<BBD##CUIOO4E)FG*
	r   c                    \         P                  ! 4       pV P                  \        P                  ! V^R7      R4       \         P                  ! R4      pV P                  \        P                  ! V^(R7      R4       R# )r   r   z	Counter()senselessnesszDCounter({'s': 6,
         'e': 4,
         'n': 2,
         'l': 1})N)rE  Counterr   r   r   r;  s   & r   test_counterQueryTestCase.test_counter  s[    !3[A04	r   c                .   \         P                  ! 4       pV P                  \        P                  ! V^R7      R4       RP                  4       p\        \        V\        P                  ! 4       4      4      p\         P                  ! \        V4      4      pV P                  \        P                  ! V4      R4       \         P                  ! \        V4      \         P                  ! V4      4      pV P                  \        P                  ! V4      R4       R# )r   r   zChainMap({})rD  zChainMap({'a': 6,
          'brown': 2,
          'dog': 8,
          'fox': 3,
          'jumped': 4,
          'lazy': 7,
          'over': 5,
          'quick': 1,
          'the': 0})a  ChainMap({'a': 6,
          'brown': 2,
          'dog': 8,
          'fox': 3,
          'jumped': 4,
          'lazy': 7,
          'over': 5,
          'quick': 1,
          'the': 0},
         OrderedDict([('the', 0),
                      ('quick', 1),
                      ('brown', 2),
                      ('fox', 3),
                      ('jumped', 4),
                      ('over', 5),
                      ('a', 6),
                      ('lazy', 7),
                      ('dog', 8)]))N)rE  ChainMapr   r   r   rG  r   r  rH  rI  rP   rF  )r   r   rK  itemss   &   r   test_chainmapQueryTestCase.test_chainmap  s      "3^D<BBDS	 123  e-*	
	   ek.E.Ee.LM*'	(r   c                   \         P                  ! 4       pV P                  \        P                  ! V^R7      R4       \         P                  ! ^R7      pV P                  \        P                  ! V^R7      R4       RP                  4       p\         P                  ! \        V\        P                  ! 4       4      4      pV P                  \        P                  ! V4      R4       \         P                  ! \        V\        P                  ! 4       4      ^R7      pV P                  \        P                  ! V4      R4       R# )	r   r   z	deque([]))maxlenzdeque([], maxlen=7)rD  zdeque([('the', 0),
       ('quick', 1),
       ('brown', 2),
       ('fox', 3),
       ('jumped', 4),
       ('over', 5),
       ('a', 6),
       ('lazy', 7),
       ('dog', 8)])zdeque([('brown', 2),
       ('fox', 3),
       ('jumped', 4),
       ('over', 5),
       ('a', 6),
       ('lazy', 7),
       ('dog', 8)],
      maxlen=7)N)	rE  dequer   r   r   rG  r  rH  rI  rJ  s   &  r   
test_dequeQueryTestCase.test_deque  s    3[AQ'35JK<BBDc%):;<*	
	 c%):;AF*		r   c                R   \         P                  ! 4       pV P                  \        P                  ! V^R7      R4       RP                  4       p\         P                  ! \        V\        P                  ! 4       4      4      pV P                  \        P                  ! V4      R4       R# )r   r   z{}rD  zi{'a': 6,
 'brown': 2,
 'dog': 8,
 'fox': 3,
 'jumped': 4,
 'lazy': 7,
 'over': 5,
 'quick': 1,
 'the': 0}N)	rE  UserDictr   r   r   rG  r  rH  rI  rJ  s   &  r   test_user_dictQueryTestCase.test_user_dict;  su      "3T:<BBD  UIOO,=!>?*	
	r   c                R   \         P                  ! 4       pV P                  \        P                  ! V^R7      R4       RP                  4       p\         P                  ! \        V\        P                  ! 4       4      4      pV P                  \        P                  ! V4      R4       R# )r   r   z[]rD  z{[('the', 0),
 ('quick', 1),
 ('brown', 2),
 ('fox', 3),
 ('jumped', 4),
 ('over', 5),
 ('a', 6),
 ('lazy', 7),
 ('dog', 8)]N)	rE  UserListr   r   r   rG  r  rH  rI  rJ  s   &  r   test_user_listQueryTestCase.test_user_listL  su      "3T:<BBD  UIOO,=!>?*	
	r   c                R   \         P                  ! R 4      pV P                  \        P                  ! V^R7      R4       \         P                  ! R4      pV P                  \        P                  ! V^R7      R4       V P                  \        P                  ! ^V/^R7      R4       R# )r   r   r  rD  r  zF{1: 'the quick '
    'brown fox '
    'jumped over a '
    'lazy dog'}N)rE  
UserStringr   r   r   r;  s   & r   test_user_stringQueryTestCase.test_user_string]  s    ""2&3T:""#OP4	
 	Ab9	r   )rp   r{   r   N)5r
   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r!  r%  r8  r<  rA  rL  rR  rZ  r]  ri  ro  rv  rz  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r   r   s   @r   r   r      s    
 = =ED"1DBO!>F>4"EHJ$L
J4$V&,63
;
025
[
	!X

	;&*>Xm
^II0<(:=x
N
07=r)?V$	%(N<"" r   r   c                   &   a  ] tR tRt o R tRtV tR# )r  in  c                    \        V\        4      '       d   R V9   d   \        V4      ^^ 3# V^ ^ 3# \        P                  P                  WW#V4      # )r   )
isinstancer`   rY   r   r   rc   )r   r   context	maxlevelslevels   &&&&&r   rc   DottedPrettyPrinter.formatp  sS    fc""f}F|Q))q!|#''..g%9 9r   r   N)r
   r   r   r   rc   r   r   r   s   @r   r  r  n  s     9 9r   r  __main__)1rE  r   rf   r   rH  r   r  r   rO  unittesttest.supportr   test.support.import_helperr   r   r   r   r"   r/   r+   r-   r2   r:   r6   r8   r=   rE   rA   rC   rH   rP   rL   rN   rS   	dataclassrW   rj   ru   ry   r   r   r   r   TestCaser   r   r  r
   mainr   r   r   <module>r)     s      	    	   % :	D 	#D #,t ,	U 	$U $- -	3 	"3 "+c +	 	( (1I 1	D 	#D #,t , ; ; ; B B B
 E"  #          
 $kH%% k\
9&.. 
9 zMMO r   