a
    /§»ad  ã                   @   s�  d Z ddlZddlZddlZddlZddlm  mZ ddl	m	Z	 ddl
mZ ddl
mZ ddl
mZ ddl
mZ ddl
mZ dd	l
mZ dd
l
mZ ddlZddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl m!Z! ddl"m#Z# ddl$m%Z% e#d ƒ Z&e'e(dœdd„Z)ddœdd„Z*i Z+dddgie+d < dg d!¢ie+d"< e+d   ,¡ e+d#< e*e+d# e+d" ƒ e+d  e+d$< G d%d&„ d&ƒZ-ee(dd'œd(d)„Z.ej/eee(e'gdf d*œd+d,„ƒZ0ej/eee(e'gdf d*œd-d.„ƒZ1e(e(dd/œd0d1„Z2ej/d2d3�eee(e'gdf d*œd4d5„ƒZ3edd6œd7d8„Z4edd9œd:d;„Z5edd9œd<d=„Z6e(ee( d>œd?d@„Z7G dAd„ dƒZ8dS )Ba  Report test results in JUnit-XML format, for use with Jenkins and build
integration servers.

Based on initial code from Ross Lawley.

Output conforms to
https://github.com/jenkinsci/xunit-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/xunit/types/model/xsd/junit-10.xsd
é    N)Údatetime)ÚCallable)ÚDict)ÚList)ÚMatch)ÚOptional)ÚTuple)ÚUnion)Únodes)Útiming)ÚExceptionRepr)ÚReprFileLocation)ÚConfig)Úfilename_arg)ÚParser)ÚFixtureRequest)Ú
TestReport)ÚStoreKey)ÚTerminalReporterÚLogXML)ÚargÚreturnc                 C   s*   t t tdœdd„}d}t ||t| ƒ¡S )a!  Visually escape invalid XML characters.

    For example, transforms
        'hello\aworld\b'
    into
        'hello#x07world#x08'
    Note that the #xABs are *not* XML escapes - missing the ampersand &#xAB.
    The idea is to escape visually for the user rather than for XML itself.
    )Úmatchobjr   c                 S   s(   t |  ¡ ƒ}|dkrd| S d| S d S )Néÿ   z#x%02Xz#x%04X)ÚordÚgroup)r   Úi© r   úJ/home/yuhw/wc/pochoir/venv/lib/python3.9/site-packages/_pytest/junitxml.pyÚrepl3   s    zbin_xml_escape.<locals>.replu    [^	
 -~Â€-íŸ¿î€€-ï¿½á€€0-áƒ¿FF])r   ÚstrÚreÚsub)r   r   Zillegal_xml_rer   r   r   Úbin_xml_escape(   s    ÿr#   ©r   c                 C   sX   i }|   ¡ D ]<\}}|  ¡ D ]*\}}t|tƒs:tt|ƒƒ‚|| ||< qq|  |¡ d S ©N)ÚitemsÚ
isinstanceÚlistÚ	TypeErrorÚtypeÚupdate)ÚleftÚrightÚresultÚklZvlZkrZvrr   r   r   Úmerge_familyC   s    
r0   ÚtestcaseÚ	classnameÚnameÚ_base)ÚfileÚlineÚurlZ_base_legacyÚxunit1Úxunit2c                   @   sN  e Zd Zeeef dddœdd„Zejddœdd„Z	ee
dd	œd
d„Zee
dd	œdd„Zeej dœdd„Zeddœdd„Zejdœdd„Zd0eeee ddœdd„Zeddœdd„Zeeedœdd„Zeeeddœd d!„Zeddœd"d#„Zeddœd$d%„Zeddœd&d'„Zeddœd(d)„Zeddœd*d+„Zeddœd,d-„Zddœd.d/„ZdS )1Ú_NodeReporterr   N)ÚnodeidÚxmlr   c                 C   s<   || _ || _| jj| _| jj| _d| _g | _g | _i | _d S )Nr   )Úidr<   Ú	add_statsÚfamilyÚdurationÚ
propertiesr
   Úattrs)Úselfr;   r<   r   r   r   Ú__init__Z   s    

z_NodeReporter.__init__)Únoder   c                 C   s   | j  |j¡ | j |¡ d S r%   )r<   r>   Útagr
   Úappend)rC   rE   r   r   r   rG   d   s    z_NodeReporter.append©r3   Úvaluer   c                 C   s   | j  t|ƒt|ƒf¡ d S r%   )rA   rG   r    r#   ©rC   r3   rI   r   r   r   Úadd_propertyh   s    z_NodeReporter.add_propertyc                 C   s   t |ƒ| jt|ƒ< d S r%   )r#   rB   r    rJ   r   r   r   Úadd_attributek   s    z_NodeReporter.add_attributer$   c                 C   s>   | j r:t d¡}| j D ]\}}| tjd||d�¡ q|S dS ©z9Return a Junit node containing custom properties, if any.rA   Úproperty©r3   rI   N)rA   ÚETÚElementrG   ©rC   rA   r3   rI   r   r   r   Úmake_properties_noden   s    
z"_NodeReporter.make_properties_node)Ú
testreportr   c                 C   sæ   t |jƒ}| j}|d d… }| jjr4| d| jj¡ d |¡t|d ƒ|jd dœ}|jd d urtt	|jd ƒ|d< t
|dƒrˆ|j|d< || _| j |¡ | jdkr¨d S i }| j ¡ D ]$}|t| j d	 v r¶| j| ||< q¶|| _d S )
Néÿÿÿÿr   Ú.)r2   r3   r5   é   r6   r7   r8   r1   )Úmangle_test_addressr;   rB   r<   ÚprefixÚinsertÚjoinr#   Úlocationr    Úhasattrr7   r+   r?   ÚkeysÚfamilies)rC   rT   ÚnamesZexisting_attrsZ
classnamesrB   Z
temp_attrsÚkeyr   r   r   Úrecord_testreportw   s,    

ý


z_NodeReporter.record_testreportc                 C   sB   t jd| jd| j d�}|  ¡ }|d ur2| |¡ | | j¡ |S )Nr1   ú%.3f)Útime)rP   rQ   rB   r@   rS   rG   Úextendr
   )rC   r1   rA   r   r   r   Úto_xml•   s    
z_NodeReporter.to_xml)rF   ÚmessageÚdatar   c                 C   s&   t j||d�}t|ƒ|_|  |¡ d S )N)rg   ©rP   rQ   r#   ÚtextrG   )rC   rF   rg   rh   rE   r   r   r   Ú_add_simple�   s    
z_NodeReporter._add_simple©Úreportr   c                 C   sÂ   | j js|jrd S |j}|j}|j}| j jdkr4d S d}| j jdv rP|  |d¡}| j jdv r~||  |d¡7 }|  ||d¡ d}| j jdv r¬||  |d	¡7 }|  ||d
¡ d}|r¾|  ||d¡ d S )NÚnoÚ )ÚlogÚallz Captured Log )ú
system-outúout-errrq   z Captured Out rr   )ú
system-errrs   rq   z Captured Err rt   )	r<   Úlog_passing_testsÚpassedZ	capstdoutZcaplogZ	capstderrÚloggingÚ_prepare_contentÚ_write_content)rC   rm   Zcontent_outZcontent_logZcontent_errZcontent_allr   r   r   Úwrite_captured_output¢   s(    z#_NodeReporter.write_captured_output)ÚcontentÚheaderr   c                 C   s   d  | dd¡|dg¡S )NÚ
éP   ú-ro   )r[   Úcenter)rC   r{   r|   r   r   r   rx   ¹   s    z_NodeReporter._prepare_content)rm   r{   Újheaderr   c                 C   s"   t  |¡}t|ƒ|_|  |¡ d S r%   ri   )rC   rm   r{   r�   rF   r   r   r   ry   ¼   s    

z_NodeReporter._write_contentc                 C   s   |   d¡ d S )Nrv   )r>   ©rC   rm   r   r   r   Úappend_passÁ   s    z_NodeReporter.append_passc                 C   sn   t |dƒr|  dd¡ nR|jd us&J ‚t|jdd ƒ}|d urD|j}n
t|jƒ}t|ƒ}|  d|t|jƒ¡ d S )NÚwasxfailÚskippedz%xfail-marked test passes unexpectedlyÚ	reprcrashÚfailure)r]   rk   ÚlongreprÚgetattrrg   r    r#   )rC   rm   r†   rg   r   r   r   Úappend_failureÄ   s    
ÿ
z_NodeReporter.append_failurec                 C   s&   |j d usJ ‚|  ddt|j ƒ¡ d S )NÚerrorzcollection failure)rˆ   rk   r    r‚   r   r   r   Úappend_collect_errorÔ   s    z"_NodeReporter.append_collect_errorc                 C   s   |   ddt|jƒ¡ d S )Nr…   zcollection skipped)rk   r    rˆ   r‚   r   r   r   Úappend_collect_skippedÙ   s    z$_NodeReporter.append_collect_skippedc                 C   sr   |j d usJ ‚t|j dd ƒ}|d ur,|j}n
t|j ƒ}|jdkrNd|› d�}nd|› d�}|  d|t|j ƒ¡ d S )Nr†   Úteardownzfailed on teardown with "ú"zfailed on setup with "r‹   )rˆ   r‰   rg   r    Úwhenrk   )rC   rm   r†   ÚreasonÚmsgr   r   r   Úappend_errorÜ   s    ÿ

z_NodeReporter.append_errorc                 C   sÂ   t |dƒrJ|j}| d¡r&|dd … }t|ƒ}tjdd|d�}|  |¡ ntt|jt	ƒsZJ ‚|j\}}}| d¡r||dd … }|› d	|› d
|› �}tjdd|d�}t|ƒ|_
|  |¡ |  |¡ d S )Nr„   zreason: é   r…   zpytest.xfail)r*   rg   z	Skipped: é	   ú:z: zpytest.skip)r]   r„   Ú
startswithr#   rP   rQ   rG   r'   rˆ   Útuplerj   rz   )rC   rm   Zxfailreasonr…   ÚfilenameÚlinenoZ
skipreasonÚdetailsr   r   r   Úappend_skippedì   s     




z_NodeReporter.append_skippedc                    s$   |   ¡ ‰ | j ¡  ‡ fdd„| _ d S )Nc                      s   ˆ S r%   r   r   ©rh   r   r   Ú<lambda>  ó    z(_NodeReporter.finalize.<locals>.<lambda>)rf   Ú__dict__Úclear©rC   r   r�   r   Úfinalize   s    
z_NodeReporter.finalize)N)Ú__name__Ú
__module__Ú__qualname__r	   r    r   rD   rP   rQ   rG   ÚobjectrK   rL   r   rS   rb   rf   rk   rz   rx   ry   rƒ   rŠ   rŒ   r�   r“   rœ   r£   r   r   r   r   r:   Y   s$   
	r:   )ÚrequestÚfixture_namer   c                 C   sN   ddl m} | jj td¡}|durJ|jdvrJ| j |dj	||jd�ƒ¡ dS )z[Emit a PytestWarning about the given fixture being incompatible with newer xunit revisions.r   )ÚPytestWarningN)r8   ÚlegacyzV{fixture_name} is incompatible with junit_family '{family}' (use 'legacy' or 'xunit1'))r©   r?   )
Ú_pytest.warning_typesrª   ÚconfigÚ_storeÚgetÚxml_keyr?   rE   ÚwarnÚformat)r¨   r©   rª   r<   r   r   r   Ú!_warn_incompatibility_with_xunit2  s    ÿÿÿr³   )r¨   r   c                    s$   t ˆ dƒ ttddœ‡ fdd„}|S )an  Add extra properties to the calling test.

    User properties become part of the test report and are available to the
    configured reporters, like JUnit XML.

    The fixture is callable with ``name, value``. The value is automatically
    XML-encoded.

    Example::

        def test_function(record_property):
            record_property("example_key", 1)
    Úrecord_propertyNrH   c                    s   ˆ j j | |f¡ d S r%   )rE   Úuser_propertiesrG   rO   ©r¨   r   r   Úappend_property*  s    z(record_property.<locals>.append_property)r³   r    r§   )r¨   r·   r   r¶   r   r´     s    
r´   c                 C   sl   ddl m} | j |dƒ¡ t| dƒ ttddœdd„}|}| jj 	t
d¡}|durh| | jj¡}|j}|S )	z�Add extra xml attributes to the tag for the calling test.

    The fixture is callable with ``name, value``. The value is
    automatically XML-encoded.
    r   )ÚPytestExperimentalApiWarningz/record_xml_attribute is an experimental featureÚrecord_xml_attributeNrH   c                 S   s   d S r%   r   rO   r   r   r   Úadd_attr_noop@  s    z+record_xml_attribute.<locals>.add_attr_noop)r¬   r¸   rE   r±   r³   r    r§   r­   r®   r¯   r°   Únode_reporterr;   rL   )r¨   r¸   rº   Z	attr_funcr<   r»   r   r   r   r¹   0  s    ÿ
r¹   )ÚparamÚvr   c                 C   s.   d}t |tƒs*d}t|j| t|ƒjd�ƒ‚dS )zcUsed by record_testsuite_property to check that the given parameter name is of the proper
    type.Tz5{param} parameter needs to be a string, but {g} given)r¼   ÚgN)r'   r    r)   r²   r*   r¤   )r¼   r½   Ú__tracebackhide__r’   r   r   r   Ú_check_record_param_typeM  s    
rÀ   Úsession)Zscopec                 C   s8   d}t tddœdd„}| jj td¡}|dur4|j}|S )aH  Record a new ``<property>`` tag as child of the root ``<testsuite>``.

    This is suitable to writing global information regarding the entire test
    suite, and is compatible with ``xunit2`` JUnit family.

    This is a ``session``-scoped fixture which is called with ``(name, value)``. Example:

    .. code-block:: python

        def test_foo(record_testsuite_property):
            record_testsuite_property("ARCH", "PPC")
            record_testsuite_property("STORAGE_TYPE", "CEPH")

    ``name`` must be a string, ``value`` will be converted to a string and properly xml-escaped.

    .. warning::

        Currently this fixture **does not work** with the
        `pytest-xdist <https://github.com/pytest-dev/pytest-xdist>`__ plugin. See issue
        `#7767 <https://github.com/pytest-dev/pytest/issues/7767>`__ for details.
    TNrH   c                 S   s   d}t d| ƒ dS )zENo-op function in case --junitxml was not passed in the command-line.Tr3   N)rÀ   )r3   rI   r¿   r   r   r   Úrecord_funcp  s    z.record_testsuite_property.<locals>.record_func)r    r§   r­   r®   r¯   r°   Úadd_global_property)r¨   r¿   rÂ   r<   r   r   r   Úrecord_testsuite_propertyV  s    rÄ   )Úparserr   c              
   C   sš   |   d¡}|jdddddtjtdd�d dd	� |jd
dddd dd� | jdddd� | jdddd� | jddddd� | jdddd� | jddd d� d S )!Nzterminal reportingz
--junitxmlz--junit-xmlÚstoreÚxmlpathÚpath)Úoptnamez1create junit-xml style report file at given path.)ÚactionÚdestÚmetavarr*   ÚdefaultÚhelpz--junitprefixz--junit-prefixr    z0prepend prefix to classnames in junit-xml output)rÊ   rÌ   rÍ   rÎ   Újunit_suite_namez Test suite name for JUnit reportÚpytest)rÍ   Újunit_loggingz\Write captured log messages to JUnit report: one of no|log|system-out|system-err|out-err|allrn   Újunit_log_passing_testsz;Capture log information for passing tests to JUnit report: ÚboolT)r*   rÍ   Újunit_duration_reportz*Duration time to report: one of total|callÚtotalÚjunit_familyz0Emit XML for schema: one of legacy|xunit1|xunit2r9   )ZgetgroupZ	addoptionÚ	functoolsÚpartialr   Zaddini)rÅ   r   r   r   r   Úpytest_addoption{  sV    
ø
úÿüüýýrÙ   )r­   r   c              
   C   sl   | j j}|rht| dƒsh|  d¡}t|| j j|  d¡|  d¡|  d¡||  d¡ƒ| jt< | j 	| jt ¡ d S )NZworkerinputrÖ   rÏ   rÑ   rÔ   rÒ   )
ÚoptionrÇ   r]   Zgetinir   Zjunitprefixr®   r°   ÚpluginmanagerÚregister)r­   rÇ   rÖ   r   r   r   Úpytest_configureª  s    
ù
	rÝ   c                 C   s*   | j  td ¡}|r&| j t= | j |¡ d S r%   )r®   r¯   r°   rÛ   Ú
unregister)r­   r<   r   r   r   Úpytest_unconfigure»  s    rß   )Úaddressr   c                 C   s€   |   d¡\}}}| d¡}z| d¡ W n ty:   Y n0 |d  tjd¡|d< t dd|d ¡|d< |d  || 7  < |S )	Nú[z::z()r   rV   z\.py$ro   rU   )	Ú	partitionÚsplitÚremoveÚ
ValueErrorÚreplacer
   ZSEPr!   r"   )rà   rÈ   Zpossible_open_bracketÚparamsr`   r   r   r   rX   Â  s    
rX   c                   @   s  e Zd Zd*ee eeeeddœdd	„Zedd
œdd„Ze	eef e
d
œdd„Zeddœdd„Zee
d
œdd„Zedd
œdd„Zedd
œdd„Zedd
œdd„Zeddœdd„Zddœdd„Zddœd d!„Zedd"œd#d$„Zeedd%œd&d'„Zeej dœd(d)„ZdS )+r   rÐ   rn   rÕ   r8   TN)rY   Ú
suite_namerw   Úreport_durationru   r   c                 C   s’   t j t j |¡¡}t j t j |¡¡| _|| _|| _|| _	|| _
|| _|| _t g d¢d¡| _i | _g | _g | _g | _d| _| jdkrŽd| _d S )N)r‹   rv   r‡   r…   r   r«   r8   )ÚosrÈ   Ú
expanduserÚ
expandvarsÚnormpathÚabspathÚlogfilerY   rè   rw   ru   ré   r?   ÚdictÚfromkeysÚstatsÚnode_reportersÚnode_reporters_orderedÚglobal_propertiesÚopen_reportsÚcnt_double_fail_tests)rC   rï   rY   rè   rw   ré   r?   ru   r   r   r   rD   Ò  s&    
ÿþ
zLogXML.__init__rl   c                 C   s<   t |d|ƒ}t |dd ƒ}| j ||f¡}|d ur8| ¡  d S ©Nr;   rE   )r‰   ró   Úpopr£   )rC   rm   r;   Ú
workernodeÚreporterr   r   r   r£   õ  s
    zLogXML.finalizec                 C   sX   t |d|ƒ}t |dd ƒ}||f}|| jv r4| j| S t|| ƒ}|| j|< | j |¡ |S rø   )r‰   ró   r:   rô   rG   )rC   rm   r;   rú   ra   rû   r   r   r   r»   ý  s    



zLogXML.node_reporter)ra   r   c                 C   s    || j v r| j |  d7  < d S )NrW   )rò   )rC   ra   r   r   r   r>     s    
zLogXML.add_statsc                 C   s   |   |¡}| |¡ |S r%   )r»   rb   ©rC   rm   rû   r   r   r   Ú_opentestcase  s    

zLogXML._opentestcasec                    s�  d}ˆ j r*ˆ jdkrî|  ˆ ¡}| ˆ ¡ nÄˆ jrÔˆ jdkrŒtˆ ddƒ‰tˆ ddƒ‰t‡ ‡‡fdd„| jD ƒdƒ}|rŒ|  |¡ |  j	d7  _	|  ˆ ¡}ˆ jdkrÈ| 
ˆ ¡ | j ˆ ¡ | jsÒ| ˆ ¡ qî| ˆ ¡ nˆ jrî|  ˆ ¡}| ˆ ¡ |  ˆ ¡ ˆ jdk�rŒ|  ˆ ¡}| ˆ ¡ ˆ jD ]\}}| |t|ƒ¡ �q|  ˆ ¡ tˆ ddƒ‰tˆ ddƒ‰t‡ ‡‡fd	d„| jD ƒdƒ}|�rŒ| j |¡ dS )
a  Handle a setup/call/teardown report, generating the appropriate
        XML tags as necessary.

        Note: due to plugins like xdist, this hook may be called in interlaced
        order with reports from other nodes. For example:

        Usual call order:
            -> setup node1
            -> call node1
            -> teardown node1
            -> setup node2
            -> call node2
            -> teardown node2

        Possible call order in xdist:
            -> setup node1
            -> call node1
            -> setup node2
            -> call node2
            -> teardown node2
            -> teardown node1
        NÚcallrŽ   Ú	worker_idÚ
item_indexc                 3   s>   | ]6}|j ˆ j krt|d dƒˆkrt|ddƒˆkr|V  qdS ©r   Nrÿ   ©r;   r‰   ©Ú.0Úrep©rm   Z	report_iiZ
report_widr   r   Ú	<genexpr>:  s
   ûz2LogXML.pytest_runtest_logreport.<locals>.<genexpr>rW   c                 3   s>   | ]6}|j ˆ j krt|d dƒˆkrt|ddƒˆkr|V  qdS r  r  r  r  r   r   r  b  s
   û)rv   r�   rý   rƒ   Úfailedr‰   Únextrö   r£   r÷   rŠ   rG   ru   rz   r“   r…   rœ   Úupdate_testcase_durationrµ   rK   r    rä   )rC   rm   Zclose_reportrû   ZpropnameZ	propvaluer   r  r   Úpytest_runtest_logreport  sZ    


þ	ö









þ	özLogXML.pytest_runtest_logreportc                 C   s:   | j dks|j| j kr6|  |¡}| jt|ddƒ7  _dS )zƒAccumulate total duration for nodeid from given report and update
        the Junit.testcase with the new total if already created.rÕ   r@   g        N)ré   r�   r»   r@   r‰   rü   r   r   r   r
  p  s    
zLogXML.update_testcase_durationc                 C   s0   |j s,|  |¡}|jr"| |¡ n
| |¡ d S r%   )rv   rý   r  rŒ   r�   rü   r   r   r   Úpytest_collectreportw  s
    
zLogXML.pytest_collectreport)Úexcreprr   c                 C   s0   |   d¡}|jjddd� | ddt|ƒ¡ d S )NZinternalrÐ   )r2   r3   r‹   zinternal error)r»   rB   r+   rk   r    )rC   r  rû   r   r   r   Úpytest_internalerror  s    
zLogXML.pytest_internalerrorr$   c                 C   s   t  ¡ | _d S r%   )r   rd   Úsuite_start_timer¢   r   r   r   Úpytest_sessionstart„  s    zLogXML.pytest_sessionstartc           
      C   sB  t j t j | j¡¡}t j |¡s,t  |¡ t| jddd�}t 	¡ }|| j
 }| jd | jd  | jd  | jd  | j }| d¡ tjd	| jt| jd ƒt| jd ƒt| jd ƒt|ƒd
| t | j
¡ ¡ t ¡ d�	}|  ¡ }|d urô| |¡ | jD ]}| | ¡ ¡ qút d¡}	|	 |¡ | tj|	dd�¡ | ¡  d S )NÚwzutf-8)Úencodingrv   r‡   r…   r‹   z&<?xml version="1.0" encoding="utf-8"?>Z	testsuiterc   )r3   ÚerrorsZfailuresr…   Útestsrd   Ú	timestampÚhostnameÚ
testsuitesÚunicode)rê   rÈ   Údirnamerî   rï   ÚisdirÚmakedirsÚopenr   rd   r  rò   r÷   ÚwriterP   rQ   rè   r    r   ÚfromtimestampÚ	isoformatÚplatformrE   Ú_get_global_properties_noderG   rô   rf   ÚtostringÚclose)
rC   r  rï   Zsuite_stop_timeZsuite_time_deltaZnumtestsZ
suite_noderõ   r»   r  r   r   r   Úpytest_sessionfinish‡  sJ    

ÿþýüÿ
÷



zLogXML.pytest_sessionfinish)Úterminalreporterr   c                 C   s   |  dd| j› �¡ d S )Nr   zgenerated xml file: )Z	write_seprï   )rC   r%  r   r   r   Úpytest_terminal_summary­  s    zLogXML.pytest_terminal_summaryrH   c                 C   s&   d}t d|ƒ | j |t|ƒf¡ d S )NTr3   )rÀ   rõ   rG   r#   )rC   r3   rI   r¿   r   r   r   rÃ   °  s    
zLogXML.add_global_propertyc                 C   s>   | j r:t d¡}| j D ]\}}| tjd||d�¡ q|S dS rM   )rõ   rP   rQ   rG   rR   r   r   r   r!  µ  s    
z"LogXML._get_global_properties_node)rÐ   rn   rÕ   r8   T)r¤   r¥   r¦   r   r    rÓ   rD   r   r£   r	   r:   r»   r>   rý   r  r
  r  r   r  r  r$  r   r&  r§   rÃ   rP   rQ   r!  r   r   r   r   r   Ñ  s4        ø÷#X&)9Ú__doc__r×   rê   r   r!   Úxml.etree.ElementTreeÚetreeÚElementTreerP   r   Útypingr   r   r   r   r   r   r	   rÐ   Z_pytestr
   r   Z_pytest._code.coder   r   Z_pytest.configr   r   Z_pytest.config.argparsingr   Z_pytest.fixturesr   Z_pytest.reportsr   Z_pytest.storer   Z_pytest.terminalr   r°   r§   r    r#   r0   r_   Úcopyr:   r³   Zfixturer´   r¹   rÀ   rÄ   rÙ   rÝ   rß   rX   r   r   r   r   r   Ú<module>   sf   

 1þ	
$/