§ |<ˆj: ã ó² — d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z dd lm Z dd lmZ ddlm Z ddlmZ dd lmZ ddlmZ ddlmZ erddlmZ deddfd„Zdeddfd„Z G d„ d¦ « Z G d„ d¦ « Zdede j fd„Zd)d„Z edd¬ ¦ « d!eded" fd#„¦ « Zd)d$„Z ded%ed&ed'edeee f d(„Z!dS )*zBSupport for presenting detailed information in failing assertions.é N)ÚAny)Ú Generator)ÚList)ÚOptional)Ú TYPE_CHECKING)Úrewrite)Útruncate)Úutil)Úassertstate_key)ÚConfig)Úhookimpl)ÚParser)ÚItem)ÚSessionÚparserÚreturnc óš — | d¦ « }| ddddddd¬ ¦ « | d ddd ¬¦ « d S )NÚdebugconfigz--assertÚstoreÚ assertmode)r Úplainr ÚMODEzÂControl assertion debugging tools. 'plain' performs no assertion debugging. 'rewrite' (the default) rewrites assert statements in test modules on import to provide assert expression information.)ÚactionÚdestÚchoicesÚdefaultÚmetavarÚhelpÚenable_assertion_pass_hookÚboolFzeEnables the pytest_assertion_pass hook. Make sure to delete any previously generated pyc cache files.)Útyper r )ÚgetgroupÚ addoptionÚaddini)r Úgroups úl/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/_pytest/assertion/__init__.pyÚpytest_addoptionr' s| € Ø�OŠO˜MÑ*Ô*€EØ ‡O‚OØØØ Ø$ØØð Cð ñ ô ð ð ‡M‚MØ$Ø ØðHð ñ ô ð ð ð ó Únamesc ó& — | D ]H}t |t ¦ « s1d}t | t | ¦ « ¦ « ¦ « ‚ŒIt j D ] }t |t j ¦ « r|} nŒ!t ¦ « } |j | Ž dS )a“ Register one or more module names to be rewritten on import. This function will make sure that this module or all modules inside the package will get their assert statements rewritten. Thus you should make sure to call this before the module is actually imported, usually in your __init__.py if you are a plugin using a package. :param names: The module names to register. z/expected module names as *args, got {0} insteadN)Ú isinstanceÚstrÚ TypeErrorÚformatÚreprÚsysÚ meta_pathr ÚAssertionRewritingHookÚDummyRewriteHookÚmark_rewrite)r) ÚnameÚmsgÚhookÚ importhooks r&