+
    Dfj                     `    R t ^ RIt^ RIHtHtHtHt ^ RIHt  ! R R]P                  4      t
R# )z!
Test Twisted's doctest support.
N)itrialreporterrunnerunittest)mockdoctestc                      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RV 3R lR	 lltV 3R
 lR lt	Rt
V tR# )RunnersTestsz&
Tests for Twisted's doctest support.
c                   < V ^8  d   QhRR/#    returnN )format__classdict__s   "A/usr/lib/python3/dist-packages/twisted/trial/test/test_doctest.py__annotate__RunnersTests.__annotate__   s     	A 	A 	A    c                    \         P                  ! 4       pVP                  \        4      pRpVP                   F7  pV P                  V\        P                  ! V4      P                  4       4       K9  	  R# )zY
Check that the id() of the doctests' case object contains the FQPN of
the actual tests.
z&twisted.trial.test.mockdoctest.CounterN)	r   
TestLoaderloadDoctestsr   _testsassertInr   	ITestCaseid)selfloadersuiteidPrefixtests   &    r   test_idRunnersTests.test_id   sW    
 ""$##K0;LLDMM(F$4$4T$:$=$=$?@ !r   c                   < V ^8  d   QhRR/# r
   r   )r   r   s   "r   r   r      s     4 4D 4r   c                    \         P                  ! 4       pVP                  \        4      pV P	                  ^VP                  4       4       R# )z@
L{loadDoctests} loads all of the doctests in the given module.
N)r   r   r   r   assertEqualcountTestCases)r   r   r   s   &  r   test_basicTrialIntegration'RunnersTests.test_basicTrialIntegration   s;     ""$##K0E0023r   c                8   < V ^8  d   QhRS[ P                  RR/# )r   r   r   N)pyunit	TestSuite)r   r   s   "r   r   r   %   s!     2 2f.. 24 2r   c                    \         P                  ! 4       pVP                  V4       V P                  ^VP                  4       V P                  ^\        VP                  4      4       R# )z$
Run C{suite} and check the result.
N)r   
TestResultrunr$   	successeslenfailures)r   r   results   && r   _testRunRunnersTests._testRun%   sM     $$&		&F,,-C01r   c                $   < V ^8  d   QhRS[ RR/# )r   countr   N)int)r   r   s   "r   r   r   .   s      # d r   c                x    \         P                  ! 4       P                  \        4      pV P	                  V4       R# )z<
Trial can correctly run doctests with its xUnit test APIs.
Nr   r   r   r   r2   )r   r5   r   s   && r   test_expectedResults!RunnersTests.test_expectedResults.   s)     !!#00=er   c                   < V ^8  d   QhRR/# r
   r   )r   r   s   "r   r   r   5   s       r   c                    \         P                  ! 4       P                  \        4      pV P	                  V4       V P	                  V4       R# )z)
Doctests should be runnable repeatably.
Nr8   )r   r   s   & r   test_repeatableRunnersTests.test_repeatable5   s5     !!#00=eer   r   N)   )__name__
__module____qualname____firstlineno____doc__r    r&   r2   r9   r=   __static_attributes____classdictcell__)r   s   @r   r   r      s>     	A 	A4 42 2  r   r   )rD   r   r)   twisted.trialr   r   r   twisted.trial.testr   SynchronousTestCaser   r   r   r   <module>rJ      s*     < < *.8// .r   