+
    ^eòjCE  ã                   ó  € R t ^ RIHt ^ RIt^ RIt^ RIt ^ RIHt . ROt]P                  ! R4      t]P                  ! R4      t]P                  ! R4      t]P                   tR	 tR
 t]P&                  ! RRR7      tR t]P,                  ! R4      t]P,                  ! R4      t ! R R]4      t ! R R]4      tRR ltRR lt ! R R4      tR tRR/t] R8X  d   ^ RIt]PB                  ! 4        R# R#   ]	 d
    ^ RI
Ht  Lçi ; i)aÑ  
lxml-based doctest output comparison.

Note: normally, you should just import the `lxml.usedoctest` and
`lxml.html.usedoctest` modules from within a doctest, instead of this
one::

    >>> import lxml.usedoctest # for XML output

    >>> import lxml.html.usedoctest # for HTML output

To use this module directly, you must call ``lxmldoctest.install()``,
which will cause doctest to use this in all subsequent calls.

This changes the way output is checked and comparisons are made for
XML or HTML-like content.

XML or HTML content is noticed because the example starts with ``<``
(it's HTML if it starts with ``<html``).  You can also use the
``PARSE_HTML`` and ``PARSE_XML`` flags to force parsing.

Some rough wildcard-like things are allowed.  Whitespace is generally
ignored (except in attributes).  In text (attributes and text in the
body) you can use ``...`` as a wildcard.  In an example it also
matches any trailing tags in the element, though it does not match
leading tags.  You may create a tag ``<any>`` or include an ``any``
attribute in the tag.  An ``any`` tag matches any tag, while the
attribute matches any and all attributes.

When a match fails, the reformatted example and gotten text is
displayed (indented), and a rough diff-like output is given.  Anything
marked with ``+`` is in the output but wasn't supposed to be, and
similarly ``-`` means its in the example but wasn't in the output.

You can disable parsing on one line with ``# doctest:+NOPARSE_MARKUP``
)ÚetreeN)ÚescapeÚ
PARSE_HTMLÚ	PARSE_XMLÚNOPARSE_MARKUPÚLXMLOutputCheckerÚLHTMLOutputCheckerc                 ó.   € V f   R # V P                  4       # ©N)Ústrip©Úvs   &ÚŠ/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/lxml/doctestcompare.pyr   r   8   s   € Ø‚yÙà�w‰w‹yÐó    c                 ó.   € \         P                  R V 4      # )Ú )Ú_norm_whitespace_reÚsubr   s   &r   Únorm_whitespacer   >   s   € Ü×"Ñ" 3¨Ó*Ð*r   FT)ÚrecoverÚremove_blank_textc                 ó8   € \         P                  ! V \        4      # r
   )r   Ú
fromstringÚ_html_parser©Úhtmls   &r   Úhtml_fromstringr   C   s   € Ü×Ò˜D¤,Ó/Ð/r   z^<[^>]+ (at|object) z[ \t\n][ \t\n]+c                   óš   a € ] tR t^Jt o RtR tR tR tR tR t	R t
R tR tRR	 ltRR
 ltRR ltR tR tR tR tR tRR ltRtV tR# )r   c                ó"   € \         P                  # r
   )r   ÚXML©Úselfs   &r   Úget_default_parserÚ$LXMLOutputChecker.get_default_parserP   s   € Ü�y‰yÐr   c                ó^  € \        V R R4      pVe   V P                  pTp M\        P                  pV P	                  WV4      pV'       g
   V! WW#4      #  V! V4      p T! T4      pT P                  Yx4      #   \
        P                   d     R# i ; i  \
        P                   d     R# i ; i)Ú_temp_override_selfNF)ÚgetattrÚ_temp_call_super_check_outputÚOutputCheckerÚcheck_outputÚ
get_parserr   ÚXMLSyntaxErrorÚcompare_docs)	r!   ÚwantÚgotÚoptionflagsÚalt_selfÚsuper_methodÚparserÚwant_docÚgot_docs	   &&&&     r   r)   ÚLXMLOutputChecker.check_outputS   s¹   € Ü˜4Ð!6¸Ó=ˆØÒØ×=Ñ=ˆLØ‰Dä(×5Ñ5ˆLØ—‘ ¨KÓ8ˆßÙØ˜Có.ð .ð	Ù˜d“|ˆHð	Ù˜S“kˆGð × Ñ  Ó3Ð3øô ×#Ñ#ô 	Úð	ûô ×#Ñ#ô 	Úð	ús$   ÁA7 ÁB Á7BÂBÂB,Â+B,c                óð  € R p\         V,          '       d   R # \        V,          '       d	   \        pV# \        V,          '       d   \        P
                  pV# VP                  4       P                  4       P                  R4      '       d.   VP                  4       P                  R4      '       d	   \        pV# V P                  V4      '       d(   V P                  V4      '       d   V P                  4       pV# )Nz<html)r   r   r   r   r   r   r   ÚlowerÚ
startswithÚ_looks_like_markupr"   )r!   r-   r.   r/   r2   s   &&&& r   r*   ÚLXMLOutputChecker.get_parserh   sÅ   € ØˆÜ˜K×'Ô'ÙÜ˜×#Ô#Ü$ˆFð ˆô ˜×$Ô$Ü—Y‘YˆFð ˆð �j‰j‹l× Ñ Ó"×-Ñ-¨g×6Ò6Ø—)‘)“+×(Ñ(¨×1Ò1Ü$ˆFð ˆð ×%Ñ% d×+Ò+Ø×)Ñ)¨#×.Ò.Ø×,Ñ,Ó.ˆFØˆr   c                óˆ   € VP                  4       pVP                  R 4      ;'       d    \        P                  V4      '       * # )Ú<)r   r8   Ú_repr_reÚsearch)r!   Úss   &&r   r9   Ú$LXMLOutputChecker._looks_like_markupx   s7   € Ø�G‰G‹IˆØ—‘˜SÓ!÷ +ð +Ü Ÿ™¨Ó*Ô*ð	,r   c                óÔ  € V P                  VP                  VP                  4      '       g   R # V P                  VP                  VP                  R4      '       g   R # V P                  VP                  VP                  R4      '       g   R # RVP
                  9  d–   \        VP
                  P                  4       4      p\        VP
                  P                  4       4      pW48w  d   R # V FA  pV P                  VP
                  V,          VP
                  V,          R 4      '       d   K@   R # 	  VP                  R8w  g   \        V4      '       d”   \        V4      p\        V4      pV'       g	   V'       dn   V'       d	   V'       g   R # VP                  ^ 4      pVP                  ^ 4      p	V P                  W‰4      '       g   R # V'       d   Kg  VP                  R8X  g   Kz   R# R# )FTÚanyz...)Útag_compareÚtagÚtext_compareÚtextÚtailÚattribÚsortedÚkeysÚlenÚlistÚpopr,   )
r!   r-   r.   Ú	want_keysÚgot_keysÚkeyÚwant_childrenÚgot_childrenÚ
want_firstÚ	got_firsts
   &&&       r   r,   ÚLXMLOutputChecker.compare_docs}   sS  € Ø×Ñ §¡¨#¯'©'×2Ò2ÙØ× Ñ  §¡¨C¯H©H°d×;Ò;ÙØ× Ñ  §¡¨C¯H©H°d×;Ò;ÙØ˜Ÿ™Ô#Ü˜tŸ{™{×/Ñ/Ó1Ó2ˆIÜ˜cŸj™jŸo™oÓ/Ó0ˆHØÔ$ÙÛ �Ø×(Ñ(¨¯©°SÕ)9¸3¿:¹:Àc½?ÈE×RÔRÚ ñ !ð �9‰9˜Ô¤ T§¢Ü  ›JˆMÜ ›9ˆLß§<ß$¯LÙ Ø*×.Ñ.¨qÓ1�
Ø(×,Ñ,¨QÓ/�	Ø×(Ñ(¨×?Ò?Ù ß#‘|¨
¯©¸5Ö(@ØÛr   c                óD  € T;'       g    R pT;'       g    R pV'       d3   \        V4      P                  4       p\        V4      P                  4       pR\        P                  ! V4      ,          pVP	                  RR4      p\        P
                  ! W4      '       d   R# R# )Ú z^%s$z\.\.\.z.*TF)r   r   Úrer   Úreplacer>   )r!   r-   r.   r   s   &&&&r   rE   ÚLXMLOutputChecker.text_compareš   sx   € Ø�zˆz�rˆØ�iˆi�RˆßÜ" 4Ó(×.Ñ.Ó0ˆDÜ! #Ó&×,Ñ,Ó.ˆCØœŸ	š	 $›Õ'ˆØ�|‰|˜I tÓ,ˆÜ�9Š9�T×ÒÙár   c                óT  € VR 8X  d   R# \        V\        \        34      '       d   \        V\        \        34      '       g   W8H  # T;'       g    RpT;'       g    RpVP                  R4      '       d2   VP	                  R4      R,          VP	                  R4      R,          8H  # W8H  # )rB   TrW   z{...}Ú}éÿÿÿÿ)Ú
isinstanceÚstrÚbytesr8   Úsplit)r!   r-   r.   s   &&&r   rC   ÚLXMLOutputChecker.tag_compare§   sˆ   € Ø�5Œ=ÙÜ˜4¤#¤u ×.Ò.Ü! #¬¬U |×4Ò4Ø‘;ÐØ�zˆz�rˆØ�iˆi�RˆØ�?‰?˜7×#Ò#à—:‘:˜c“? 2Õ&¨#¯)©)°C«.¸Õ*<Ñ<Ð<à‘;Ðr   c                óð  € VP                   pV P                  WBV4      p. pVe    V! V4      p V! V4      p	Ve	   V'       dC   \        P                  WW#4      p
V'       d#   VP                  V
4       RP                  V4      # V
# V\        J pRV P                  XV^4      RV P                  X	V^4      RV P                  WyV^4      .pRP                  V4      #   \        P                   d8    \        P
                  ! 4       ^,          pTP                  RT,          4        Löi ; i  \        P                   d9    \        P
                  ! 4       ^,          pTP                  RT,          4        EL=i ; i)NzIn example: %szIn actual output: %sÚ
z	Expected:zGot:zDiff:)r-   r*   r   r+   ÚsysÚexc_infoÚappendr(   Úoutput_differenceÚjoinr   Ú
format_docÚcollect_diff)r!   Úexampler.   r/   r-   r2   Úerrorsr3   Úer4   Úvaluer   Ú
diff_partss   &&&&         r   rh   Ú#LXMLOutputChecker.output_differenceµ   sR  € Ø�|‰|ˆØ—‘ ¨KÓ8ˆØˆØÒð4Ù! $›<�ð:Ù  ›+�ð Š>ŸVÜ!×3Ñ3Ø˜só1ˆEçØ—‘˜eÔ$Ø—y‘y Ó(Ð(à�ØœÐ(ˆØ!Ø—o‘o h°°aÓ8ØØ—o‘o g¨t°QÓ7ØØ×'Ñ'¨¸4ÀÓCðEˆ
ð �y‰y˜Ó$Ð$øô/ ×'Ñ'ô 4Ü—L’L“N 1Õ%�Ø—‘Ð.°Õ2Ö3ð4ûô
 ×'Ñ'ô :Ü—L’L“N 1Õ%�Ø—‘Ð4°qÕ8×9ð:ús$   ¦C ¯D( ÃA	D%Ä$D%Ä(A	E5Å4E5c                óž   € V'       g   R # VP                   V P                  9  d   R # VP                  '       g   \        V4      '       d   R # R# )FT)rD   Ú
empty_tagsrF   rK   )r!   Úelr   s   &&&r   Úhtml_empty_tagÚ LXMLOutputChecker.html_empty_tagÕ   s2   € ßÙØ�6‰6˜Ÿ™Ô(ÙØ�7�7ˆ7”c˜"—g’gáÙr   c           	     ó2  € . p\        V4      '       Eg-   VP                  R V,          4       VP                  V4       VP                  V P                  V4      4       V P                  W4      '       gf   \	        VP
                  4      '       d+   VP                  V P                  VP
                  4      4       VP                  V P                  V4      4       \	        VP                  4      '       d+   VP                  V P                  VP                  4      4       VP                  R4       RP                  V4      # VP                  R V,          4       VP                  V4       VP                  V P                  V4      4       V P                  W4      '       gú   VP                  R4       \	        VP
                  4      '       dT   VP                  R V,          4       VP                  V P                  VP
                  4      4       VP                  R4       V F+  pVP                  V P                  WbV^,           4      4       K-  	  VP                  R V,          4       VP                  V P                  V4      4       VP                  R4       \	        VP                  4      '       dT   VP                  R V,          4       VP                  V P                  VP                  4      4       VP                  R4       RP                  V4      # )r   rd   rW   )rK   rg   Ú
format_tagru   r   rF   Úformat_textÚformat_end_tagrG   ri   rj   )r!   Údocr   ÚindentÚprefixÚpartsrt   s   &&&&&  r   rj   ÚLXMLOutputChecker.format_docß   s  € ØˆÜ�3�x‹xà�L‰L˜˜V�Ô$Ø�L‰L˜Ô Ø�L‰L˜Ÿ™¨Ó-Ô.Ø×&Ñ& s×1Ò1Ü˜Ÿ™—?’?Ø—L‘L ×!1Ñ!1°#·(±(Ó!;Ô<Ø—‘˜T×0Ñ0°Ó5Ô6Ü�S—X‘X�ŠØ—‘˜T×-Ñ-¨c¯h©hÓ7Ô8Ø�L‰L˜ÔØ—7‘7˜5“>Ð!Ø�‰�S˜•ZÔ Ø�‰�VÔØ�‰�T—_‘_ SÓ)Ô*Ø×"Ñ" 3×-Ò-Ø�L‰L˜ÔÜ�S—X‘X�ŠØ—‘˜S �ZÔ(Ø—‘˜T×-Ñ-¨c¯h©hÓ7Ô8Ø—‘˜TÔ"Û�Ø—‘˜TŸ_™_¨R°v¸aµxÓ@ÖAñ à�L‰L˜˜V�Ô$Ø�L‰L˜×,Ñ,¨SÓ1Ô2Ø�L‰L˜ÔÜ�—‘�?Š?Ø�L‰L˜˜V�Ô$Ø�L‰L˜×)Ñ)¨#¯(©(Ó3Ô4Ø�L‰L˜ÔØ�w‰w�u‹~Ðr   c                óV   € Vf   R# V'       d   VP                  4       p\        V^4      # )NrW   )r   Úhtml_escape)r!   rF   r   s   &&&r   ry   ÚLXMLOutputChecker.format_text  s%   € ØŠ<ÙßØ—:‘:“<ˆDÜ˜4 Ó#Ð#r   c           	     ór  € . p\        V\        P                  4      '       d   R # \        VP                  P                  4       4       F.  w  r4VP                  V: RV P                  VR4      : R24       K0  	  V'       g   RVP                  ,          # RVP                  : RRP                  V4      : R2# )z<!--ú="FÚ"ú<%s>r<   r   Ú>)
r^   r   ÚCommentBaserI   rH   Úitemsrg   ry   rD   ri   )r!   rt   ÚattrsÚnamero   s   &&   r   rx   ÚLXMLOutputChecker.format_tag	  s„   € ØˆÜ�bœ%×+Ñ+×,Ò,áÜ! "§)¡)§/¡/Ó"3Ö4‰KˆDØ�L‰L£d¨D×,<Ñ,<¸UÀEÖ,JÐKÖLñ 5çØ˜BŸF™F•?Ð"ð àŸFœF C§H¡H¨U¦OÐ4Ð4r   c                ól   € \        V\        P                  4      '       d   R # RVP                  ,          # )z-->ú</%s>)r^   r   rˆ   rD   )r!   rt   s   &&r   rz   Ú LXMLOutputChecker.format_end_tag  s'   € Ü�bœ%×+Ñ+×,Ò,áØ˜Ÿ™ÕÐr   c           	     ó¾  € . p\        V4      '       Eg   \        V4      '       gü   VP                  R V,          4       VP                  V P                  W4      4       V P                  W#4      '       gV   VP                  V P	                  VP
                  VP
                  4      4       VP                  V P                  W4      4       VP                  V P	                  VP                  VP                  4      4       VP                  R4       RP                  V4      # VP                  R V,          4       VP                  V P                  W4      4       VP                  R4       \        VP
                  4      '       g   \        VP
                  4      '       d_   VP                  R V,          4       VP                  V P	                  VP
                  VP
                  4      4       VP                  R4       \        V4      p\        V4      pV'       g	   V'       dÎ   V'       g;   VP                  V P                  VP                  ^ 4      W4^,           R4      4       KR  V'       g;   VP                  V P                  VP                  ^ 4      W4^,           R4      4       K”  VP                  V P                  VP                  ^ 4      VP                  ^ 4      W4^,           4      4       KÝ  VP                  R V,          4       VP                  V P                  W4      4       VP                  R4       \        VP                  4      '       g   \        VP                  4      '       d_   VP                  R V,          4       VP                  V P	                  VP                  VP                  4      4       VP                  R4       RP                  V4      # )r   rd   rW   Ú+Ú-)rK   rg   Úcollect_diff_tagru   Úcollect_diff_textrF   Úcollect_diff_end_tagrG   ri   r   rL   rj   rM   rk   )r!   r-   r.   r   r|   r~   rQ   rR   s   &&&&&   r   rk   ÚLXMLOutputChecker.collect_diff  s™  € ØˆÜ�4�y‹y¤ S§¢Ø�L‰L˜˜V�Ô$Ø�L‰L˜×.Ñ.¨tÓ9Ô:Ø×&Ñ& s×1Ò1Ø—‘˜T×3Ñ3°D·I±I¸s¿x¹xÓHÔIØ—‘˜T×6Ñ6°tÓAÔBØ�L‰L˜×/Ñ/°·	±	¸3¿8¹8ÓDÔEØ�L‰L˜ÔØ—7‘7˜5“>Ð!Ø�‰�S˜•ZÔ Ø�‰�T×*Ñ*¨4Ó5Ô6Ø�‰�TÔÜ�—‘×Òœu S§X¡XŸšØ�L‰L˜˜V�Ô$Ø�L‰L˜×/Ñ/°·	±	¸3¿8¹8ÓDÔEØ�L‰L˜ÔÜ˜T›
ˆÜ˜C“yˆßŸ|ß Ø—‘˜TŸ_™_¨\×-=Ñ-=¸aÓ-@À$ÈqÍÐRUÓVÔWÙßØ—‘˜TŸ_™_¨]×->Ñ->¸qÓ-AÀ4ÐPQÍÐSVÓWÔXÙØ�L‰L˜×*Ñ*Ø×!Ñ! !Ó$ l×&6Ñ&6°qÓ&9¸4ÈÅóKö Là�‰�S˜•ZÔ Ø�‰�T×.Ñ.¨tÓ9Ô:Ø�‰�TÔÜ�—‘×Òœu S§X¡XŸšØ�L‰L˜˜V�Ô$Ø�L‰L˜×/Ñ/°·	±	¸3¿8¹8ÓDÔEØ�L‰L˜ÔØ�w‰w�u‹~Ðr   c           
     óÞ  € V P                  VP                  VP                  4      '       g    VP                  : R VP                  : R2pMVP                  p. pVP                  R8H  ;'       g    RVP                  9   p\        VP                  P	                  4       4       F©  w  rgWaP                  9  d5   V'       g-   VP                  RV: RV P                  VR4      : R24       KI  WaP                  9   d&   V P                  VP                  V,          VR4      pMV P                  VR4      pVP                  V: RV: R24       K«  	  V'       gi   \        VP                  P	                  4       4       FA  w  rgWbP                  9   d   K  VP                  RV: RV P                  VR4      : R24       KC  	  V'       d   RV: R	R	P                  V4      : R
2pV# RV,          pV# )ú (got: Ú)rB   r‘   r„   Fr…   r’   r<   r   r‡   r†   )	rC   rD   rH   rI   r‰   rg   ry   r”   ri   )	r!   r-   r.   rD   rŠ   rB   r‹   ro   rF   s	   &&&      r   r“   Ú"LXMLOutputChecker.collect_diff_tag@  sl  € Ø×Ñ §¡¨#¯'©'×2Ò2Ø$(§H¤H¨c¯g¬gÐ6‰Cà—'‘'ˆCØˆØ�h‰h˜%Ñ×7Ð7 5¨D¯K©KÑ#7ˆÜ! #§*¡*×"2Ñ"2Ó"4Ö5‰KˆDØŸ;™;Ô&¯sØ—’«4°×1AÑ1AÀ%ÈÖ1OÐPÖQàŸ;™;Ô&Ø×1Ñ1°$·+±+¸dÕ2CÀUÈEÓR‘Dà×+Ñ+¨E°5Ó9�DØ—‘«$³Ð5Ö6ñ 6÷ Ü% d§k¡k×&7Ñ&7Ó&9Ö:‘�ØŸ:™:Ô%ÙØ—’«4°×1AÑ1AÀ%ÈÖ1OÐPÖQñ  ;÷ ˆ5Û" C§H¡H¨U¦OÐ4ˆCð ˆ
ð ˜3•,ˆCØˆ
r   c                ó°   € VP                   VP                   8w  d(   VP                   : R VP                   : R2pRV,          # VP                   pRV,          # )r˜   r™   rŽ   )rD   )r!   r-   r.   rD   s   &&& r   r•   Ú&LXMLOutputChecker.collect_diff_end_tag[  sE   € Ø�8‰8�s—w‘wÔØ$(§H¤H¨c¯g¬gÐ6ˆCð ˜�}Ðð —'‘'ˆCØ˜�}Ðr   c                óž   € V P                  WV4      '       d   V'       g   R # V P                  W#4      # V: RV: R2pV P                  WC4      # )rW   r˜   r™   )rE   ry   )r!   r-   r.   r   rF   s   &&&& r   r”   Ú#LXMLOutputChecker.collect_diff_textb  sG   € Ø×Ñ˜T¨×.Ò.ßÙØ×#Ñ# CÓ/Ð/Û!%£sÐ+ˆØ×Ñ Ó,Ð,r   © N)
ÚparamÚimgÚareaÚbrÚbasefontÚinputÚbaseÚmetaÚlinkÚcol)T)rW   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__rs   r"   r)   r*   r9   r,   rE   rC   rh   ru   rj   ry   rx   rz   rk   r“   r•   r”   Ú__static_attributes__Ú__classdictcell__©Ú__classdict__s   @r   r   r   J   si   ø‡ € ð'€Jòò4ò*ò ,ò
ò:òò%ô@ô!ôF$ò	5ò ò$òLò6÷-ò -r   c                   ó&   a € ] tR tRt o R tRtV tR# )r   ij  c                ó   € \         # r
   )r   r    s   &r   r"   Ú%LHTMLOutputChecker.get_default_parserk  s   € ÜÐr   rŸ   N)rª   r«   r¬   r­   r"   r®   r¯   r°   s   @r   r   r   j  s   ø‡ € ÷ð r   c                óV   € V '       d   \         \        n        R# \        \        n        R# )z“
Install doctestcompare for all future doctests.

If html is true, then by default the HTML parser will be used;
otherwise the XML parser is used.
N)r   Údoctestr(   r   r   s   &r   Úinstallr·   n  s   € ÷ Ü 2ŒÖä 1ŒÖr   c                ó<  € V '       d   \         pM\        p\        4       pVP                  R,          pV! 4       pVP                  pWTn        VP                  R,          P
                  pVP                  P
                  p\        \        n        \        WFVWxV4       R# )z­
Use this *inside* a doctest to enable this checker for this
doctest only.

If html is true, then by default the HTML parser will be used;
otherwise the XML parser is used.
r!   ÚcheckN)
r   r   Ú_find_doctest_frameÚf_localsÚ_checkerÚ__func__r)   r   r¶   Ú_RestoreChecker)	r   Ú
del_moduleÚCheckerÚframeÚdt_selfÚcheckerÚold_checkerÚ
check_funcÚchecker_check_funcs	   &&       r   Útemp_installrÇ   z  s‚   € ÷ Ü$‰ä#ˆÜÓ!€EØ�n‰n˜VÕ$€GÙ‹i€GØ×"Ñ"€KØÔð —‘ Õ(×1Ñ1€JØ ×-Ñ-×6Ñ6Ðô „G„MÜ�G¨'ØØö r   c                   óP   a € ] tR tRt o R tR tR tR tR tR t	R t
R	 tR
tV tR# )r¾   i�  c                óØ   € Wn         W n        V P                  V P                  n        W0P                  n        W@n        WPn        W`n        V P                  4        V P                  4        R # r
   )
rÂ   rÃ   Ú
call_superr'   r%   rÅ   Ú
clone_funcr¿   Úinstall_cloneÚinstall_dt_self)r!   rÂ   rÄ   Únew_checkerrÅ   rË   r¿   s   &&&&&&&r   Ú__init__Ú_RestoreChecker.__init__ž  sM   € àŒØ"ŒØ59·_±_ˆ�‰Ô2Ø+6�‰Ô(Ø$ŒØ$ŒØ$ŒØ×ÑÔØ×ÑÖr   c                ó¼   € V P                   P                  V n        V P                   P                  V n        V P
                  P                  V P                   n        R # r
   )rÅ   Ú__code__Ú	func_codeÚ__globals__Úfunc_globalsrË   r    s   &r   rÌ   Ú_RestoreChecker.install_clone©  s;   € ØŸ™×1Ñ1ˆŒØ ŸO™O×7Ñ7ˆÔØ#'§?¡?×#;Ñ#;ˆ�‰Ö r   c                ó<   € V P                   V P                  n        R # r
   )rÓ   rÅ   rÒ   r    s   &r   Úuninstall_cloneÚ_RestoreChecker.uninstall_clone­  s   € Ø#'§>¡>ˆ�‰Ö r   c                ó\   € V P                   P                  V n        W P                   n        R # r
   )rÂ   Ú_DocTestRunner__record_outcomeÚ	prev_funcr    s   &r   rÍ   Ú_RestoreChecker.install_dt_self¯  s   € ØŸ™×DÑDˆŒØ6:�‰Ö3r   c                ó<   € V P                   V P                  n        R # r
   )rÜ   rÂ   rÛ   r    s   &r   Úuninstall_dt_selfÚ!_RestoreChecker.uninstall_dt_self²  s   € Ø6:·n±nˆ�‰Ö3r   c                ó  € V P                   '       dm   ^ RIpVP                  V P                    RV P                   9   d?   V P                   P                  R^4      w  r#VP                  V,          p\	        WC4       R# R# R# )é    NÚ.)r¿   re   ÚmodulesÚrsplitÚdelattr)r!   re   ÚpackageÚmoduleÚpackage_mods   &    r   Úuninstall_moduleÚ _RestoreChecker.uninstall_module´  sb   € Ø�?�?ˆ?ÛØ—‘˜DŸO™OÐ,Ø�d—o‘oÔ%Ø"&§/¡/×"8Ñ"8¸¸aÓ"@‘�Ø!Ÿk™k¨'Õ2�Ü˜Ö,ñ &ñ r   c                óº   € V P                  4        V P                  4        V P                  =V P                  =V P
                  ! V/ VB pV P                  4        V# r
   )rØ   rß   rÃ   r%   r'   rÜ   rê   )r!   ÚargsÚkwÚresults   &*, r   Ú__call__Ú_RestoreChecker.__call__¼  sR   € Ø×ÑÔØ×ÑÔ Ø�L‰LÐ,Ø�L‰LÐ6Ø—’ Ð,¨Ñ,ˆØ×ÑÔØˆr   c                ó’   € V P                  4         V P                  ! V/ VB V P                  4        #   T P                  4        i ; ir
   )rØ   rÅ   rÌ   )r!   rí   rî   s   &*,r   rÊ   Ú_RestoreChecker.call_superÄ  s=   € Ø×ÑÔð	!Ø—?’? DÐ/¨BÑ/à×ÑÕ øˆD×ÑÕ ús	   ’4 ´A)rÅ   rÃ   rË   r¿   rÂ   rÓ   rÕ   rÜ   N)rª   r«   r¬   r­   rÏ   rÌ   rØ   rÍ   rß   rê   rð   rÊ   r®   r¯   r°   s   @r   r¾   r¾   �  s3   ø‡ € ò
ò<ò2ò;òEò-ò÷!ð !r   r¾   c                  óš   € ^ RI p V P                  ! ^4      pV'       d$   VP                  pRV9   d   V# VP                  pK+  \	        R4      h)râ   NÚBOOMzBCould not find doctest (only use this function *inside* a doctest))re   Ú	_getframer»   Úf_backÚLookupError)re   rÁ   Úls      r   rº   rº   Ë  sF   € ÛØ�MŠM˜!Ó€Eß
Ø�N‰NˆØ�QŒ;àˆLØ—‘ŠÜ
ØLóNð Nr   Úbasicai  
    >>> temp_install()
    >>> print """<xml a="1" b="2">stuff</xml>"""
    <xml b="2" a="1">...</xml>
    >>> print """<xml xmlns="http://example.com"><tag   attr="bar"   /></xml>"""
    <xml xmlns="...">
      <tag attr="..." />
    </xml>
    >>> print """<xml>blahblahblah<foo /></xml>""" # doctest: +NOPARSE_MARKUP, +ELLIPSIS
    <xml>...foo /></xml>
    Ú__main__)r   r   r   r   r   r·   rÇ   )F)FN)"Ú__doc__Úlxmlr   re   rX   r¶   r   r   r�   ÚImportErrorÚcgiÚ__all__Úregister_optionflagr   r   r   r(   r   r   Ú
HTMLParserr   r   Úcompiler=   r   r   r   r·   rÇ   r¾   rº   Ú__test__rª   ÚtestmodrŸ   r   r   Ú<module>r     s$  ðñ#õJ Û 
Û 	Û ð*Ý*ò<€ð ×(Ò(¨Ó6€
Ø×'Ò'¨Ó4€	Ø×,Ò,Ð-=Ó>€à×%Ñ%€òò+ð ×Ò¨ÀÔF€ò0ð �:Š:Ð-Ó.€Ø—j’jÐ!3Ó4Ð ô^-˜ô ^-ô@	Ð*ô ô
2ô! ÷F,!ñ ,!ò\
Nð ð 
ð	€ð ˆzÔÛØ‡O‚OÖñ øðq ô *ß)ð*ús   –C4 Ã4DÄD