Ë
    V.j¿"  ã                  ó   — d Z ddlmZ ddlmZ ddl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Z G d„ de«      Zdd„Z ej(                  d¬«      dd„«       Zdd„Zdd„Zdd„ZdgZdd„Zdd„Zy)z3Version info, help messages, tracing configuration.é    )Úannotations)ÚActionN)Ú	Generator)ÚConfig)ÚExitCode)Ú	PrintHelp)ÚParser)ÚTerminalReporterc                  ó,   ‡ — e Zd ZdZdˆ fd„	Zdd„Zˆ xZS )Ú
HelpActiona}  An argparse Action that will raise an exception in order to skip the
    rest of the argument parsing when --help is passed.

    This prevents argparse from quitting due to missing required arguments
    when any are defined, for example by ``pytest_addoption``.
    This is similar to the way that the builtin argparse --help option is
    implemented by raising SystemExit.
    c                ó0   •— t         ‰| �  ||d|d|¬«       y )NTr   )Úoption_stringsÚdestÚconstÚdefaultÚnargsÚhelp)ÚsuperÚ__init__)Úselfr   r   r   r   Ú	__class__s        €úTC:\xampp\htdocs\tradingbinance\backend\.venv\Lib\site-packages\_pytest/helpconfig.pyr   zHelpAction.__init__   s'   ø€ Ü‰ÑØ)ØØØØØð 	õ 	
ó    c                ó€   — t        || j                  | j                  «       t        |j                  dd«      rt
        ‚y )NÚafter_preparseF)Úsetattrr   r   ÚgetattrÚ_parserr   )r   ÚparserÚ	namespaceÚvaluesÚoption_strings        r   Ú__call__zHelpAction.__call__'   s3   € Ü�	˜4Ÿ9™9 d§j¡jÔ1ô �6—>‘>Ð#3°UÔ;ÜˆOð <r   )NFN)N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r#   Ú__classcell__)r   s   @r   r   r      s   ø„ ñõ
÷r   r   c           	     ó>  — | j                  d«      }|j                  dddddd¬«       |j                  d	d
t        dd¬«       |j                  dddg dd¬«       |j                  ddddd¬«       |j                  ddddddd ¬!«       |j                  d"d#d$dd%¬&«       y )'NÚdebugconfigz	--versionz-VÚcountr   ÚversionzoDisplay pytest version and information about plugins. When given twice, also display information about plugins.)Úactionr   r   r   z-hz--helpr   z(Show help message and configuration info)r-   r   r   z-pÚappendÚpluginsÚnamez‰Early-load given plugin module name or entry point (multi-allowed). To avoid loading of plugins, use the `no:` prefix, e.g. `no:doctest`.)r-   r   r   Úmetavarr   z--traceconfigz--trace-configÚ
store_trueFz)Trace considerations of conftest.py files)r-   r   r   z--debugÚstoreÚ?zpytestdebug.logÚdebugÚDEBUG_FILE_NAMEzšStore internal tracing debug information in this log file. This file is opened with 'w' and truncated as a result, care advised. Default: pytestdebug.log.)r-   r   r   r   r1   r   z-oz--override-iniÚoverride_iniz^Override ini option with "option=value" style, e.g. `-o xfail_strict=True -o cache_dir=cache`.)r   r-   r   )ÚgetgroupÚ	addoptionÚ
_addoptionr   )r   Úgroups     r   Úpytest_addoptionr<   /   sõ   € Ø�O‰O˜MÓ*€EØ	‡O�OØØØØØðDð ô ð 
×ÑØØÜØØ7ð ô ð 
×ÑØØØØØðð ô 	ð 
‡O�OØØØØØ8ð ô ð 
‡O�OØØØØØØ!ð$ð ô 
ð 
×ÑØØØØð:ð õ r   T)Úwrapperc               #  óÊ  ‡‡‡K  — d –—Š‰j                   j                  �r@‰j                   j                  } t        | dd¬«      Š‰j                  dj	                  t
        j                  dj                  t        t        t        j                  «      «      ‰j                  j                  t        j                  «       ‰j                  j                   «      «       ‰j"                  j$                  j'                  ‰j                  «       ‰j(                  j+                  «       Št        j,                  j                  d| › d�«       d	ˆˆˆfd„}‰j/                  |«       ‰S ­w)
NÚwzutf-8)Úencodingz@versions pytest-{}, python-{}
invocation_dir={}
cwd={}
args={}

Ú.z$writing pytest debug information to Ú
c                 óØ   •— ‰j                  «        t        j                  j                  d‰j                  › d�«       ‰ j
                  j                  j                  d «        ‰«        y )Nz"wrote pytest debug information to rB   )ÚcloseÚsysÚstderrÚwriter0   ÚtraceÚrootÚ	setwriter)ÚconfigÚ	debugfileÚundo_tracings   €€€r   Úunset_tracingz+pytest_cmdline_parse.<locals>.unset_tracing}   sL   ø€ Ø�O‰OÔÜ�J‰J×ÑÐAÀ)Ç.Á.ÐAQÐQSÐTÔUØ�L‰L×Ñ×'Ñ'¨Ô-Ù�Nr   )ÚreturnÚNone)Úoptionr5   ÚopenrG   ÚformatÚpytestÚ__version__ÚjoinÚmapÚstrrE   Úversion_infoÚinvocation_paramsÚdirÚosÚgetcwdÚargsrH   rI   rJ   ÚpluginmanagerÚenable_tracingrF   Úadd_cleanup)ÚpathrN   rK   rL   rM   s     @@@r   Úpytest_cmdline_parserc   g   s  úè ø€ â€Fà‡}�}×Óà�}‰}×"Ñ"ˆÜ˜˜s¨WÔ5ˆ	Ø�‰ð@ß@FÁÜ×"Ñ"Ø—‘œœS¤#×"2Ñ"2Ó3Ó4Ø×(Ñ(×,Ñ,Ü—	‘	“Ø×(Ñ(×-Ñ-óAô		
ð 	�‰×Ñ×#Ñ# I§O¡OÔ4Ø×+Ñ+×:Ñ:Ó<ˆÜ�
‰
×ÑÐ?À¸vÀRÐHÔI÷	ð 	×Ñ˜=Ô)à€Mùs   …EE#c                óŒ  — | j                   j                  dkD  rzt        j                  j	                  dt
        j                  › dt
        j                  › d�«       t        | «      }|r*|D ]$  }t        j                  j	                  |dz   «       Œ& y y t        j                  j	                  dt
        j                  › d�«       y )Né   zThis is pytest version z, imported from rB   zpytest )	rQ   r,   rE   ÚstdoutrG   rT   rU   Ú__file__Úgetpluginversioninfo)rK   Ú
plugininfoÚlines      r   Úshowversionrk   ˆ   sž   € Ø‡}�}×Ñ˜qÒ Ü�
‰
×ÑØ%¤f×&8Ñ&8Ð%9Ð9IÌ&Ï/É/ÐIZÐZ\Ð]ô	
ô *¨&Ó1ˆ
ÙÛ"�Ü—
‘
× Ñ  ¨¡Õ-ñ #ð ô 	�
‰
×Ñ˜7¤6×#5Ñ#5Ð"6°bÐ9Õ:r   c                óÒ   — | j                   j                  dkD  rt        | «       y| j                   j                  r,| j	                  «        t        | «       | j                  «        yy )Nr   )rQ   r,   rk   r   Ú_do_configureÚshowhelpÚ_ensure_unconfigure)rK   s    r   Úpytest_cmdline_mainrp   •   sR   € Ø‡}�}×Ñ˜qÒ Ü�FÔØØ	�‰×	Ò	Ø×ÑÔÜ�ÔØ×"Ñ"Ô$ØØr   c                óJ  — dd l }| j                  j                  d«      }|€J ‚|j                  }|j	                  | j
                  j                  j                  «       «       |j                  «        |j                  d«       |j                  «        |j                  }d}d|z  }| j
                  j                  D �]  }| j
                  j                  |   \  }}	}
|	€d}	|€t        d|› �«      ‚|› d|	› d	�}|j	                  d
|› �«       t        |«      }||dz
  kD  r?|j                  «        |j                  ||||d¬«      }|D ]  }|j                  |«       Œ Œ£|j	                  d||z
  dz
  z  «       |j                  |||z
  d¬«      }|sŒ×|j                  |d   «       |dd  D ]  }|j                  ||z   «       Œ �Œ |j                  «        |j                  d«       g d¢}|D ]  \  }}|j                  d
|d›d|› �«       Œ |j                  «        |j                  «        |j                  d«       |j                  d«       |j                  d«       |j                  j!                  dg «      D ]"  }|j                  d|j"                  z   d¬«       Œ$ y )Nr   ÚterminalreporterzY[pytest] ini-options in the first pytest.ini|tox.ini|setup.cfg|pyproject.toml file found:é   Ú Ústringz!help argument cannot be None for z (z):ú  é   F)Úinitial_indentÚsubsequent_indentÚbreak_on_hyphensé   )rz   re   zEnvironment variables:))ÚCIzmWhen set (regardless of value), pytest knows it is running in a CI process and does not truncate summary info)ÚBUILD_NUMBERzEquivalent to CI)ÚPYTEST_ADDOPTSzExtra command line options)ÚPYTEST_PLUGINSz.Comma-separated plugins to load during startup)ÚPYTEST_DISABLE_PLUGIN_AUTOLOADz"Set to disable plugin auto-loading)ÚPYTEST_DEBUGz1Set to enable debug tracing of pytest's internalsz<24z/to see available markers type: pytest --markersz1to see available fixtures type: pytest --fixtureszˆ(shown according to specified file_or_dir or current dir if not specified; fixtures with leading '_' are only shown with the '-v' optionÚwarningsz
warning : T)Úred)Útextwrapr_   Ú
get_pluginÚ_twrG   r   Ú	optparserÚformat_helprj   Ú	fullwidthÚ	_ininamesÚ_inidictÚ	TypeErrorÚlenÚwrapÚstatsÚgetÚmessage)rK   r„   ÚreporterÚtwÚcolumnsÚ
indent_lenÚindentr0   r   Útyper   ÚspecÚspec_lenÚ	helplinesrj   ÚwrappedÚvarsÚwarningreports                     r   rn   rn   ¡   sˆ  € Ûà(.×(<Ñ(<×(GÑ(GØó)€Hð ÐÐÐØ	�‰€BØ‡H�HˆV�^‰^×%Ñ%×1Ñ1Ó3Ô4Ø‡G�G„IØ‡G�Gð	Bôð ‡G�G„Ià�l‰l€GØ€JØ�:Ñ€FØ—‘×(Õ(ˆØ$Ÿn™n×5Ñ5°dÑ;Ñˆˆd�GØˆ<ØˆDØˆ<ÜÐ?À¸vÐFÓGÐGØ��r˜$˜˜rÐ"ˆØ
�‰�2�d�V�ÔÜ�t“9ˆØ�z A‘~Ò&à�G‰GŒIØ Ÿ™ØØØ%Ø"(Ø!&ð &ó ˆIó "�Ø—‘˜•ñ "ð �H‰H�S˜J¨Ñ1°AÑ5Ñ6Ô7Ø—m‘m D¨'°JÑ*>ÐQV�mÓWˆGâØ—‘˜ ™
Ô#Ø# A B›K�DØ—G‘G˜F T™MÕ*ò (ð; )ð@ ‡G�G„IØ‡G�GÐ$Ô%ò€Dó ‰
ˆˆdØ
�‰�"�T˜#�J˜a ˜vÐ&Õ'ð à‡G�G„IØ‡G�G„Ià‡G�GÐ=Ô>Ø‡G�GÐ?Ô@Ø‡G�Gð	ôð "Ÿ™×+Ñ+¨J¸Ö;ˆØ
�‰�˜}×4Ñ4Ñ4¸$ˆÕ?ñ <r   )Úpytest_pluginszlist of plugin names to loadc                ó  — g }| j                   j                  «       }|rc|j                  d«       |D ]M  \  }}t        |dt	        |«      «      }|j
                  › d|j                  › d|› �}|j                  d|z   «       ŒO |S )Nzregistered third-party plugins:rg   Ú-z at rv   )r_   Úlist_plugin_distinfor.   r   ÚreprÚproject_namer,   )rK   Úlinesri   ÚpluginÚdistÚlocÚcontents          r   rh   rh   ö   sƒ   € Ø€EØ×%Ñ%×:Ñ:Ó<€JÙØ�‰Ð6Ô7Û&‰LˆF�DÜ˜& *¬d°6«lÓ;ˆCØ×*Ñ*Ð+¨1¨T¯\©\¨N¸$¸s¸eÐDˆGØ�L‰L˜ ™Õ(ð 'ð €Lr   c                óð  — g }| j                   j                  s| j                   j                  r@|j                  dt        j
                  › �«       t        | «      }|r|j                  |«       | j                   j                  rq|j                  d«       | j                  j                  «       }|D ]A  \  }}t        |d«      r|j                  }nt        |«      }|j                  d|d›d|› �«       ŒC |S )Nzusing: pytest-zactive plugins:rg   z    z<20z: )rQ   r5   Útraceconfigr.   rT   rU   rh   Úextendr_   Úlist_name_pluginÚhasattrrg   r¢   )rK   r¤   ÚverinfoÚitemsr0   r¥   Úrs          r   Úpytest_report_headerr±     sÍ   € Ø€EØ‡}�}×Ò˜fŸm™m×7Ò7Ø�‰�~¤f×&8Ñ&8Ð%9Ð:Ô;ä& vÓ.ˆÙØ�L‰L˜Ô!à‡}�}× Ò Ø�‰Ð&Ô'Ø×$Ñ$×5Ñ5Ó7ˆÛ!‰LˆD�&Ü�v˜zÔ*Ø—O‘O‘ä˜“L�Ø�L‰L˜4  S˜z¨¨A¨3Ð/Õ0ð "ð €Lr   )r   r	   rO   rP   )rO   zGenerator[None, Config, Config])rK   r   rO   rP   )rK   r   rO   zint | ExitCode | None)rK   r   rO   z	list[str])r'   Ú
__future__r   Úargparser   r\   rE   Útypingr   Ú_pytest.configr   r   r   Ú_pytest.config.argparsingr	   Ú_pytest.terminalr
   rT   r   r<   Úhookimplrc   rk   rp   rn   Úconftest_optionsrh   r±   © r   r   Ú<module>r»      sƒ   ðá 9å "å Û 	Û 
Ý å !Ý #Ý $Ý ,Ý -Û ô�ô ó85ðp €‡�˜Ôòó ðó@
;ó	óO@ðd GÐGÐ ó	ôr   