+
    Dfjý  ã                   óT   € ^ RI Ht ^ RIHt ^ RIHt  ! R R]P                  4      tR# )é    )Útext)Ú
attributes)Úunittestc                   óÆ   a € ] tR t^
t o RtV 3R lR ltV 3R lR ltV 3R lR ltV 3R lR	 ltV 3R
 lR lt	V 3R lR lt
V 3R lR ltV 3R lR ltV 3R lR ltRtV tR# )ÚFormattedTextTestsz&
Tests for assembling formatted text.
c                ó   <€ V ^8„  d   QhRR/# ©é   ÚreturnN© )ÚformatÚ__classdict__s   "€Ú>/usr/lib/python3/dist-packages/twisted/conch/test/test_text.pyÚ__annotate__ÚFormattedTextTests.__annotate__   s   ø€ ÷ 
ñ 
˜dñ 
ó    c                ó|   € V P                  \        P                  ! \        P                  R,          4      R4       R# )z]
Using no formatting attributes produces no VT102 control sequences in
the flattened output.
úHello, world.N)ÚassertEqualr   ÚassembleFormattedTextÚAÚnormal©Úselfs   &r   Útest_trivialÚFormattedTextTests.test_trivial   s+   € ð
 	×ÑÜ×&Ò&¤q§x¡x°Õ'@ÓAÀ?ö	
r   c                ó   <€ V ^8„  d   QhRR/# r	   r   )r   r   s   "€r   r   r      s   ø€ ÷ 
ñ 
˜4ñ 
r   c                ó|   € V P                  \        P                  ! \        P                  R,          4      R4       R# )zk
The bold formatting attribute, L{A.bold}, emits the VT102 control
sequence to enable bold when flattened.
r   z[1mHello, world.N)r   r   r   r   Úboldr   s   &r   Ú	test_boldÚFormattedTextTests.test_bold   s,   € ð
 	×ÑÜ×&Ò&¤q§v¡v¨oÕ'>Ó?ÐAWö	
r   c                ó   <€ V ^8„  d   QhRR/# r	   r   )r   r   s   "€r   r   r   !   s   ø€ ÷ 
ñ 
 ñ 
r   c                ó|   € V P                  \        P                  ! \        P                  R,          4      R4       R# )z|
The underline formatting attribute, L{A.underline}, emits the VT102
control sequence to enable underlining when flattened.
r   z[4mHello, world.N)r   r   r   r   Ú	underliner   s   &r   Útest_underlineÚ!FormattedTextTests.test_underline!   s,   € ð
 	×ÑÜ×&Ò&¤q§{¡{°?Õ'CÓDØ"ö	
r   c                ó   <€ V ^8„  d   QhRR/# r	   r   )r   r   s   "€r   r   r   +   s   ø€ ÷ 
ñ 
˜Dñ 
r   c                ó|   € V P                  \        P                  ! \        P                  R,          4      R4       R# )zq
The blink formatting attribute, L{A.blink}, emits the VT102 control
sequence to enable blinking when flattened.
r   z[5mHello, world.N)r   r   r   r   Úblinkr   s   &r   Ú
test_blinkÚFormattedTextTests.test_blink+   s,   € ð
 	×ÑÜ×&Ò&¤q§w¡w¨Õ'?Ó@ÐBXö	
r   c                ó   <€ V ^8„  d   QhRR/# r	   r   )r   r   s   "€r   r   r   4   s   ø€ ÷ 
ñ 
 4ñ 
r   c                ó|   € V P                  \        P                  ! \        P                  R,          4      R4       R# )z†
The reverse-video formatting attribute, L{A.reverseVideo}, emits the
VT102 control sequence to enable reversed video when flattened.
r   z[7mHello, world.N)r   r   r   r   ÚreverseVideor   s   &r   Útest_reverseVideoÚ$FormattedTextTests.test_reverseVideo4   s,   € ð
 	×ÑÜ×&Ò&¤q§~¡~°oÕ'FÓGØ"ö	
r   c                ó   <€ V ^8„  d   QhRR/# r	   r   )r   r   s   "€r   r   r   >   s   ø€ ÷ 
ñ 
˜Dñ 
r   c           	     óØ   € V P                  \        P                  ! \        P                  \        P
                  R\        P                  R,          ) R3,          ,          4      R4       R# )z©
Formatting attributes prefixed with a minus (C{-}) temporarily disable
the prefixed attribute, emitting no VT102 control sequence to enable
it in the flattened output.
ÚHelloz worldÚ.z[1;5mHello[0;5m world[1;5m.N)r   r   r   r   r   r)   r   s   &r   Ú
test_minusÚFormattedTextTests.test_minus>   sM   € ð 	×ÑÜ×&Ò&Ü—‘”q—w‘w˜w¬¯©°Õ)9Ð(9¸3Ð>Õ?Õ@óð 6ö		
r   c                ó   <€ V ^8„  d   QhRR/# r	   r   )r   r   s   "€r   r   r   K   ó   ø€ ÷ 

ñ 

 ñ 

r   c                óü   € V P                  \        P                  ! \        P                  \        P
                  P                  R,          \        P
                  P                  R,          3,          4      R4       R# )z‹
The foreground color formatting attribute, L{A.fg}, emits the VT102
control sequence to set the selected foreground color when flattened.
úHello, úworld!z[31mHello, [32mworld!N)r   r   r   r   r   ÚfgÚredÚgreenr   s   &r   Útest_foregroundÚ"FormattedTextTests.test_foregroundK   óP   € ð
 	×ÑÜ×&Ò&Ü—‘œŸ™Ÿ™ )Õ,¬a¯d©d¯j©j¸Õ.BÐBÕCóð ,ö		
r   c                ó   <€ V ^8„  d   QhRR/# r	   r   )r   r   s   "€r   r   r   W   r8   r   c                óü   € V P                  \        P                  ! \        P                  \        P
                  P                  R,          \        P
                  P                  R,          3,          4      R4       R# )z‹
The background color formatting attribute, L{A.bg}, emits the VT102
control sequence to set the selected background color when flattened.
r:   r;   z[41mHello, [42mworld!N)r   r   r   r   r   Úbgr=   r>   r   s   &r   Útest_backgroundÚ"FormattedTextTests.test_backgroundW   rA   r   c                ó   <€ V ^8„  d   QhRR/# r	   r   )r   r   s   "€r   r   r   c   s   ø€ ÷ 
ñ 
¨ñ 
r   c                óŠ  € V P                  V P                  .4      pV P                  \        V4      ^ 4       \        P
                   V P                  V P                  .4      pV P                  \        V4      ^4       V P                  V^ ,          R,          \        4       V P                  V^ ,          R,          R4       R# )z^
L{twisted.conch.insults.text.flatten} emits a deprecation warning when
imported or accessed.
ÚcategoryÚmessagez‚twisted.conch.insults.text.flatten was deprecated in Twisted 13.1.0: Use twisted.conch.insults.text.assembleFormattedText instead.N)ÚflushWarningsÚtest_flattenDeprecatedr   Úlenr   ÚflattenÚDeprecationWarning)r   ÚwarningsShowns   & r   rL   Ú)FormattedTextTests.test_flattenDeprecatedc   s¤   € ð
 ×*Ñ*¨D×,GÑ,GÐ+HÓIˆØ×Ñœ˜]Ó+¨QÔ/ô 	Šà×*Ñ*¨D×,GÑ,GÐ+HÓIˆØ×Ñœ˜]Ó+¨QÔ/Ø×Ñ˜ qÕ)¨*Õ5Ô7IÔJØ×ÑØ˜!Õ˜YÕ'ðö	
r   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r    r%   r*   r/   r5   r?   rE   rL   Ú__static_attributes__Ú__classdictcell__)r   s   @r   r   r   
   sd   ø‡ € ñ÷
ð 
÷
ð 
÷
ð 
÷
ð 
÷
ð 
÷
ð 
÷

ð 

÷

ð 

÷
ö 
r   r   N)	Útwisted.conch.insultsr   Útwisted.conch.insults.textr   r   Útwisted.trialr   ÚTestCaser   r   r   r   Ú<module>r]      s$   ðõ
 'Ý 6Ý "ôl
˜×*Ñ*ö l
r   