+
    üÐjÝ  ã                   ó˜   € R t ^ RIHtHtHtHtHt ^ RIHt ^ RI	H
t
 ^ RIHt ^ RIHtHtHt ^ RIHt ^ RIHt ^RIHt  ! R	 R
]4      tR# )z+
Tests for L{twisted.trial.test.matchers}.
)ÚanythingÚassert_thatÚcontains_stringÚequal_toÚnot_)ÚAllOf)ÚStringDescription)Úgiven)ÚjustÚsampled_fromÚtext)ÚFilePath)ÚSynchronousTestCase)ÚfileContentsc                   ó¼   a € ] tR t^t o Rt]! ]! 4       ]! R4      4      V 3R lR l4       t]! ]! R4      ]	! . RO4      4      V 3R lR l4       t
V 3R lR	 ltR
tV tR# )ÚFileContentsTestsz
Tests for L{fileContents}.
úutf-8c                ó*   <€ V ^8„  d   QhRS[ RS[ RR/# ©é   ÚcontentsÚencodingÚreturnN©Ústr)ÚformatÚ__classdict__s   "€ÚB/usr/lib/python3/dist-packages/twisted/trial/test/test_matchers.pyÚ__annotate__ÚFileContentsTests.__annotate__   s"   ø€ ÷ 4ñ 4¡Sð 4±Cð 4¸Dñ 4ó    c                ó4  € \        V P                  4       4      pVP                  VP                  V4      4       \	        4       p\        \        \        V4      4      P                  W44      \        R4      4       \        \        V4      \        R4      4       R# )a0  
L{fileContents} matches a L{IFilePath} that refers to a file that
contains a string that is matched by the parameterized matcher.

:param contents: The text string to place in the file and match
    against.

:param encoding: The text encoding to use to encode C{contents} when
    writing to the file.
TÚ N)
r   ÚmktempÚ
setContentÚencoder   r   r   r   Úmatchesr   ©Úselfr   r   ÚpÚdescriptions   &&&  r   Útest_matchesÚFileContentsTests.test_matches   sl   € ô �T—[‘[“]Ó#ˆØ	�‰�X—_‘_ XÓ.Ô/ä'Ó)ˆÜÜœ (Ó+Ó,×4Ñ4°QÓDÄhÈtÃnô	
ô 	”C˜Ó$¤h¨r£lÖ3r    z!some text, it doesn't matter whatc                ó*   <€ V ^8„  d   QhRS[ RS[ RR/# r   r   )r   r   s   "€r   r   r   -   s"   ø€ ÷ >ñ >©ð >±sð >¸tñ >r    c                óL  € \        V P                  4       4      pVP                  VP                  V4      4       \	        4       p\        \        \        \        4       4      4      P                  W44      \        R4      4       \        \        V4      \        RV R24      4       R# )a<  
L{fileContents} does not match an L{IFilePath} that refers to a
file that contains a string that is not matched by the parameterized
matcher.

:param contents: The text string to place in the file and match
    against.

:param encoding: The text encoding to use to encode C{contents} when
    writing to the file.
Fzwas <Ú>N)r   r#   r$   r%   r   r   r   r   r   r&   r   r   r'   s   &&&  r   Útest_mismatchesÚ!FileContentsTests.test_mismatches)   sw   € ô  �T—[‘[“]Ó#ˆØ	�‰�X—_‘_ XÓ.Ô/ä'Ó)ˆÜÜœœh›jÓ)Ó*×2Ñ2°1ÓBÄHÈUÃOô	
ô 	”C˜Ó$¤h°°q°c¸¨|Ó&<Ö=r    c                ó   <€ V ^8„  d   QhRR/# )r   r   N© )r   r   s   "€r   r   r   B   s   ø€ ÷ 
ñ 
˜dñ 
r    c                óR  € \        V P                  4       4      p\        4       p\        \	        \        4       4      P                  W4      \        R4      4       \        \        V4      \        \        R4      \        R4      \        \        VP                  4      4      4      4       R# )zY
L{fileContents} reports details of any I/O error encountered while
attempting to match.
Fr   ÚFileNotFoundErrorN)r   r#   r   r   r   r   r&   r   r   r   r   ÚreprÚpath)r(   r)   r*   s   &  r   Útest_ioerrorÚFileContentsTests.test_ioerrorB   sw   € ô
 �T—[‘[“]Ó#ˆä'Ó)ˆÜ”L¤£Ó,×4Ñ4°QÓDÄhÈuÃoÔVÜÜ�Óää Ó/äÐ 3Ó4ô  ¤ Q§V¡V£Ó-óö	
r    r3   N)Úasciizlatin-1r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r	   r   r
   r+   r   r0   r8   Ú__static_attributes__Ú__classdictcell__)r   s   @r   r   r      s`   ø‡ € ññ ‰4‹6‘4˜“=Ó!÷4ó "ð4ñ( ÙÐ0Ó1ÙÒ2Ó3ó÷>ó	ð>÷*
ö 
r    r   N)r?   Úhamcrestr   r   r   r   r   Úhamcrest.core.core.allofr   Ú hamcrest.core.string_descriptionr   Ú
hypothesisr	   Úhypothesis.strategiesr
   r   r   Útwisted.python.filepathr   Útwisted.trial.unittestr   Úmatchersr   r   r3   r    r   Ú<module>rJ      s:   ðñ÷ LÕ KÝ *Ý >Ý ß :Ñ :å ,Ý 6Ý "ôH
Ð+ö H
r    