+
    üÐje  ã                   ó’   € R t ^ RIt^ RIHt ^ RIHt  ! R R]P                  4      t ! R R4      t ! R R	]P                  4      t	R# )
zÔ
Sample test cases defined using the standard library L{unittest.TestCase}
class which are used as data by test cases which are actually part of the
trial test suite to verify handling of handling of such cases.
N)Úexc_info)ÚFailurec                   ób   a € ] tR t^t o R tR tR t]P                  ! R4      R 4       t	Rt
V tR# )Ú
PyUnitTestc                ó   € R# )z
A passing test.
N© ©Úselfs   &Ú@/usr/lib/python3/dist-packages/twisted/trial/test/pyunitcases.pyÚ	test_passÚPyUnitTest.test_pass   ó   ‚ ó    c                ó   € \        R4      h)z5
A test which raises an exception to cause an error.
zpyunit error)Ú	Exceptionr   s   &r
   Ú
test_errorÚPyUnitTest.test_error   s   € ô ˜Ó'Ð'r   c                ó(   € V P                  R4       R# )zA
A test which uses L{unittest.TestCase.fail} to cause a failure.
zpyunit failureN)Úfailr   s   &r
   Ú	test_failÚPyUnitTest.test_fail   s   € ð 	�	‰	Ð"Ö#r   zpyunit skipc                ó   € R# )zC
A test which uses the L{unittest.skip} decorator to cause a skip.
Nr   r   s   &r
   Ú	test_skipÚPyUnitTest.test_skip"   r   r   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   r   ÚunittestÚskipr   Ú__static_attributes__Ú__classdictcell__©Ú__classdict__s   @r
   r   r      s1   ø‡ € òò
(ò$ð ‡]‚]�=Ó!ñó "ör   r   c                   ó6   a € ] tR t^)t o RtV 3R lR ltRtV tR# )Ú_NonStringIdzÊ
A class that looks a little like a TestCase, but not enough so to
actually be used as one.  This helps L{BrokenRunInfrastructure} use some
interfaces incorrectly to provoke certain failure conditions.
c                ó    <€ V ^8„  d   QhRS[ /# )é   Úreturn©Úobject)Úformatr#   s   "€r
   Ú__annotate__Ú_NonStringId.__annotate__0   s   ø€ ÷ ñ ‘Fñ r   c                ó   € \        4       # )Nr)   r   s   &r
   ÚidÚ_NonStringId.id0   s	   € Ü‹xˆr   r   N)r   r   r   r   Ú__doc__r/   r    r!   r"   s   @r
   r%   r%   )   s   ø‡ € ñ÷ö r   r%   c                   óN   a € ] tR t^4t o RtR tR tR tR tR t	R t
R tR	tV tR
# )ÚBrokenRunInfrastructurezi
A test suite that is broken at the level of integration between
L{TestCase.run} and the results object.
c                ó8   € \        W P                  4      ! V4      # )z¿
Override the normal C{run} behavior to pass the result object
along to the test method.  Each test method needs the result object so
that it can implement its particular kind of brokenness.
)ÚgetattrÚ_testMethodName©r	   Úresults   &&r
   ÚrunÚBrokenRunInfrastructure.run:   s   € ô �t×1Ñ1Ô2°6Ó:Ð:r   c                ó8   € VP                  \        4       4       R# )z1
Violate the L{TestResult.addSuccess} interface.
N)Ú
addSuccessr%   r7   s   &&r
   Útest_addSuccessÚ'BrokenRunInfrastructure.test_addSuccessB   s   € ð
 	×Ñœ,›.Ö)r   c                óˆ   €  \        R4      h  \         d    \        4       p Mi ; iTP                  \	        4       T4       R# )z/
Violate the L{TestResult.addError} interface.
Útest_addErrorN)r   ÚBaseExceptionr   ÚaddErrorr%   ©r	   r8   Úerrs   && r
   r@   Ú%BrokenRunInfrastructure.test_addErrorI   s:   € ð	Ü˜OÓ,Ð,øÜô 	Ü“*ŠCð	úð 	�‰œ›¨Ö,ó   ‚ �%¤%c                óˆ   €  \        R4      h  \         d    \        4       p Mi ; iTP                  \	        4       T4       R# )z1
Violate the L{TestResult.addFailure} interface.
Útest_addFailureN)r   rA   r   Ú
addFailurer%   rC   s   && r
   rH   Ú'BrokenRunInfrastructure.test_addFailureT   s=   € ð	ÜÐ-Ó.Ð.øÜô 	Ü“*ŠCð	úð 	×Ñœ,›.¨#Ö.rF   c                ó:   € VP                  \        4       R4       R# )z.
Violate the L{TestResult.addSkip} interface.
Útest_addSkipN)ÚaddSkipr%   r7   s   &&r
   rL   Ú$BrokenRunInfrastructure.test_addSkip_   s   € ð 	�‰”|“~ ~Ö6r   c                óˆ   €  \        R4      h  \         d    \        4       p Mi ; iTP                  \	        4       T4       R# )z9
Violate the L{TestResult.addExpectedFailure} interface.
Útest_addExpectedFailureN)r   rA   r   ÚaddExpectedFailurer%   rC   s   && r
   rP   Ú/BrokenRunInfrastructure.test_addExpectedFailuree   s;   € ð	ÜÐ5Ó6Ð6øÜô 	Ü“)ŠCð	úà×!Ñ!¤,£.°#Ö6rF   c                ó8   € VP                  \        4       4       R# )z;
Violate the L{TestResult.addUnexpectedSuccess} interface.
N)ÚaddUnexpectedSuccessr%   r7   s   &&r
   Útest_addUnexpectedSuccessÚ1BrokenRunInfrastructure.test_addUnexpectedSuccesso   s   € ð 	×#Ñ#¤L£NÖ3r   r   N)r   r   r   r   r1   r9   r=   r@   rH   rL   rP   rU   r    r!   r"   s   @r
   r3   r3   4   s2   ø‡ € ñò
;ò*ò	-ò	/ò7ò7÷4ð 4r   r3   )
r1   r   Úsysr   Útwisted.python.failurer   ÚTestCaser   r%   r3   r   r   r
   Ú<module>rZ      sC   ðñó Ý å *ô�×"Ñ"ô ÷2ñ ô?4˜h×/Ñ/ö ?4r   