????

Your IP : 3.147.70.194


Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/_pytest/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/_pytest/__pycache__/hookspec.cpython-311.pyc

�

�܋f.���
�dZddlmZddlmZddlmZddlmZddlmZddlmZddlm	Z	dd	lm
Z
dd
lmZddlmZddl
mZdd
lmZer�ddlZddlZddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlm Z ddlm!Z!ddl"m#Z#ddl$m%Z%ddl$m&Z&ddl'm(Z(ddl)m*Z*ddl)m+Z+ddl)m,Z,dd l)m-Z-dd!l.m/Z/dd"l.m0Z0dd#l1m2Z2dd$l3m4Z4dd%l3m5Z5dd&l6m7Z7ed'��Z8e8d(�)��d�d-���Z9e8d(�)��						d�d1���Z:e8d(�)��d�d4���Z;e8d(�)��d�d7���Z<e8d(�8��d*d+d9ee=d,ed6fd:���Z>e8e�;��d5d6d9ee=d,dfd<���Z?e8d(�8��d5d6d,eed=e@ffd>���ZAd?d6d2d3d9ee=d,dfd@�ZBe8d(�8��dAdBd,eeCfdC���ZDdAdBd5d6dDedEd,dfdF�ZEd�dG�ZFe8d(�8��dHedIdJd5d6d,eeGfdK���ZHdLedIdJdMdNd,dOfdP�ZId�dR�ZJd�dT�ZKd�dW�ZLdDe	dEd,dfdX�ZMe8d(�8��d�dZ���ZNe8d(�8��d[edIdJd,ed\fd]���ZOe8d(�8��dQed^d_e=d`eCd,eddEdNeedaffdb���ZPe8d(�8��dcddd,eeCfde���ZQd�dh�ZRe8d(�8��d5d6dieCdje=d,ee=fdk���ZSe8d(�8��dAdBd,eeCfdl���ZTe8d(�8��dSdEdmdnd,eeCfdo���ZUdpe=dqe
e=ee@e=fd,dfdr�ZVdpe=dqe
e=ee@e=fd,dfds�ZWd�dt�ZXd�du�ZYdSdEdmedEd,dfdv�ZZe8d(�8��dSdEdwdxd,edyfdz���Z[d�d{�Z\e8d(�8��d5d6dUed|d,eee=effd}���Z]e8d(�8��d5d6d~ee=efd,eed|fd���Z^e8d(�8��d�d�d�d�d,eeCfd����Z_						d�d��Z`d�d��ZadAdBd�ee@d=fd,dfd��Zbd�d��Zcd5d6d�e=d�eCd�eCd,eee=f
d��ZddSdEd�e@d�e=d�e=d,df
d��Zed5d6d�ed�dJd,ee=ee=ffd��Zfd5d6d�ed�dJdDe	dEd,ee=ee=ff
d��Zge8d(�8��dUed|d5d6d,d�fd����Zh								d�d��Zie8d(�)��d�d�d�d�dpe=dqee
e=e@e=fd,df
d����Zjd5d6d,ee=effd��Zkd�d�d�d�d,eeGfd��Zl				d�d��Zmd�edadwd�dUed|d,dfd��Znd�d��Zod�d��ZpdS)�zaHook specifications for pytest plugins which are invoked by pytest itself
and by builtin plugins.�)�Path)�Any)�Dict)�List)�Mapping)�Optional)�Sequence)�Tuple)�
TYPE_CHECKING)�Union)�HookspecMarker)�WARNING_CMDLINE_PREPARSE_HOOKN)�Literal)�
ExceptionRepr)�
ExceptionInfo)�Config)�ExitCode)�PytestPluginManager)�
_PluggyPlugin)�Parser)�
FixtureDef)�
SubRequest)�Session)�	Collector)�Item)�Exit)�Class)�Function)�Metafunc)�Module)�
CollectReport)�
TestReport)�CallInfo)�TerminalReporter)�TestShortLogReport)�LEGACY_PATH�pytestT)�historic�
pluginmanagerr�returnc��dS)a*Called at plugin registration time to allow adding new hooks via a call to
    ``pluginmanager.add_hookspecs(module_or_class, prefix)``.

    :param pytest.PytestPluginManager pluginmanager: The pytest plugin manager.

    .. note::
        This hook is incompatible with ``hookwrapper=True``.
    N�)r)s �a/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/_pytest/hookspec.py�pytest_addhooksr.7������pluginr�managerc��dS)z�A new pytest plugin got registered.

    :param plugin: The plugin module or instance.
    :param pytest.PytestPluginManager manager: pytest plugin manager.

    .. note::
        This hook is incompatible with ``hookwrapper=True``.
    Nr,)r1r2s  r-�pytest_plugin_registeredr4Cr/r0�parserrc��dS)a�Register argparse-style options and ini-style config values,
    called once at the beginning of a test run.

    .. note::

        This function should be implemented only in plugins or ``conftest.py``
        files situated at the tests root directory due to how pytest
        :ref:`discovers plugins during startup <pluginorder>`.

    :param pytest.Parser parser:
        To add command line options, call
        :py:func:`parser.addoption(...) <pytest.Parser.addoption>`.
        To add ini-file values call :py:func:`parser.addini(...)
        <pytest.Parser.addini>`.

    :param pytest.PytestPluginManager pluginmanager:
        The pytest plugin manager, which can be used to install :py:func:`hookspec`'s
        or :py:func:`hookimpl`'s and allow one plugin to call another plugin's hooks
        to change how command line options are added.

    Options can later be accessed through the
    :py:class:`config <pytest.Config>` object, respectively:

    - :py:func:`config.getoption(name) <pytest.Config.getoption>` to
      retrieve the value of a command line option.

    - :py:func:`config.getini(name) <pytest.Config.getini>` to retrieve
      a value read from an ini-style file.

    The config object is passed around on many internal objects via the ``.config``
    attribute or can be retrieved as the ``pytestconfig`` fixture.

    .. note::
        This hook is incompatible with ``hookwrapper=True``.
    Nr,)r5r)s  r-�pytest_addoptionr7Qr/r0�configrc��dS)a�Allow plugins and conftest files to perform initial configuration.

    This hook is called for every plugin and initial conftest file
    after command line options have been parsed.

    After that, the hook is called for other conftest files as they are
    imported.

    .. note::
        This hook is incompatible with ``hookwrapper=True``.

    :param pytest.Config config: The pytest config object.
    Nr,�r8s r-�pytest_configurer;xr/r0)�firstresult�argsc��dS)a�Return an initialized :class:`~pytest.Config`, parsing the specified args.

    Stops at first non-None result, see :ref:`firstresult`.

    .. note::
        This hook will only be called for plugin classes passed to the
        ``plugins`` arg when using `pytest.main`_ to perform an in-process
        test run.

    :param pluginmanager: The pytest plugin manager.
    :param args: List of arguments passed on the command line.
    :returns: A pytest config object.
    Nr,)r)r=s  r-�pytest_cmdline_parser?�r/r0)�warn_on_implc��dS)a�(**Deprecated**) modify command line arguments before option parsing.

    This hook is considered deprecated and will be removed in a future pytest version. Consider
    using :hook:`pytest_load_initial_conftests` instead.

    .. note::
        This hook will not be called for ``conftest.py`` files, only for setuptools plugins.

    :param config: The pytest config object.
    :param args: Arguments passed on the command line.
    Nr,)r8r=s  r-�pytest_cmdline_preparserB�r/r0rc��dS)aCalled for performing the main command line action. The default
    implementation will invoke the configure hooks and runtest_mainloop.

    Stops at first non-None result, see :ref:`firstresult`.

    :param config: The pytest config object.
    :returns: The exit code.
    Nr,r:s r-�pytest_cmdline_mainrD�r/r0�early_configc��dS)aoCalled to implement the loading of initial conftest files ahead
    of command line option parsing.

    .. note::
        This hook will not be called for ``conftest.py`` files, only for setuptools plugins.

    :param early_config: The pytest config object.
    :param args: Arguments passed on the command line.
    :param parser: To add command line options.
    Nr,)rEr5r=s   r-�pytest_load_initial_conftestsrG�r/r0�sessionrc��dS)a
Perform the collection phase for the given session.

    Stops at first non-None result, see :ref:`firstresult`.
    The return value is not used, but only stops further processing.

    The default collection phase is this (see individual hooks for full details):

    1. Starting from ``session`` as the initial collector:

      1. ``pytest_collectstart(collector)``
      2. ``report = pytest_make_collect_report(collector)``
      3. ``pytest_exception_interact(collector, call, report)`` if an interactive exception occurred
      4. For each collected node:

        1. If an item, ``pytest_itemcollected(item)``
        2. If a collector, recurse into it.

      5. ``pytest_collectreport(report)``

    2. ``pytest_collection_modifyitems(session, config, items)``

      1. ``pytest_deselected(items)`` for any deselected items (may be called multiple times)

    3. ``pytest_collection_finish(session)``
    4. Set ``session.items`` to the list of collected items
    5. Set ``session.testscollected`` to the number of collected items

    You can implement this hook to only perform some action before collection,
    for example the terminal plugin uses it to start displaying the collection
    counter (and returns `None`).

    :param session: The pytest session object.
    Nr,�rHs r-�pytest_collectionrK�r/r0�itemsrc��dS)z�Called after collection has been performed. May filter or re-order
    the items in-place.

    :param session: The pytest session object.
    :param config: The pytest config object.
    :param items: List of item objects.
    Nr,)rHr8rLs   r-�pytest_collection_modifyitemsrN�r/r0c��dS)zmCalled after collection has been performed and modified.

    :param session: The pytest session object.
    Nr,rJs r-�pytest_collection_finishrPr/r0�collection_path�pathr&c��dS)aDReturn True to prevent considering this path for collection.

    This hook is consulted for all files and directories prior to calling
    more specific hooks.

    Stops at first non-None result, see :ref:`firstresult`.

    :param collection_path: The path to analyze.
    :param path: The path to analyze (deprecated).
    :param config: The pytest config object.

    .. versionchanged:: 7.0.0
        The ``collection_path`` parameter was added as a :class:`pathlib.Path`
        equivalent of the ``path`` parameter. The ``path`` parameter
        has been deprecated.
    Nr,)rQrRr8s   r-�pytest_ignore_collectrT	r/r0�	file_path�parentrzOptional[Collector]c��dS)a�Create a :class:`~pytest.Collector` for the given path, or None if not relevant.

    The new node needs to have the specified ``parent`` as a parent.

    :param file_path: The path to analyze.
    :param path: The path to collect (deprecated).

    .. versionchanged:: 7.0.0
        The ``file_path`` parameter was added as a :class:`pathlib.Path`
        equivalent of the ``path`` parameter. The ``path`` parameter
        has been deprecated.
    Nr,)rUrRrVs   r-�pytest_collect_filerXr/r0�	collectorc��dS)zOCollector starts collecting.

    :param collector:
        The collector.
    Nr,�rYs r-�pytest_collectstartr\3r/r0�itemc��dS)zGWe just collected a test item.

    :param item:
        The item.
    Nr,�r]s r-�pytest_itemcollectedr`;r/r0�reportr!c��dS)zSCollector finished collecting.

    :param report:
        The collect report.
    Nr,�ras r-�pytest_collectreportrdCr/r0c��dS)z�Called for deselected test items, e.g. by keyword.

    May be called multiple times.

    :param items:
        The items.
    Nr,)rLs r-�pytest_deselectedrfKr/r0�Optional[CollectReport]c��dS)z�Perform :func:`collector.collect() <pytest.Collector.collect>` and return
    a :class:`~pytest.CollectReport`.

    Stops at first non-None result, see :ref:`firstresult`.

    :param collector:
        The collector.
    Nr,r[s r-�pytest_make_collect_reportriUr/r0�module_pathr c��dS)a�Return a :class:`pytest.Module` collector or None for the given path.

    This hook will be called for each matching test module path.
    The :hook:`pytest_collect_file` hook needs to be used if you want to
    create test modules for files that do not match as a test module.

    Stops at first non-None result, see :ref:`firstresult`.

    :param module_path: The path of the module to collect.
    :param path: The path of the module to collect (deprecated).

    .. versionchanged:: 7.0.0
        The ``module_path`` parameter was added as a :class:`pathlib.Path`
        equivalent of the ``path`` parameter.

        The ``path`` parameter has been deprecated in favor of ``fspath``.
    Nr,)rjrRrVs   r-�pytest_pycollect_makemodulerlfr/r0)r r�name�obj)rrc��dS)abReturn a custom item/collector for a Python object in a module, or None.

    Stops at first non-None result, see :ref:`firstresult`.

    :param collector:
        The module/class collector.
    :param name:
        The name of the object in the module/class.
    :param obj:
        The object.
    :returns:
        The created items/collectors.
    Nr,)rYrmrns   r-�pytest_pycollect_makeitemrp}r/r0�
pyfuncitemrc��dS)z�Call underlying test function.

    Stops at first non-None result, see :ref:`firstresult`.

    :param pyfuncitem:
        The function item.
    Nr,)rqs r-�pytest_pyfunc_callrs�r/r0�metafuncrc��dS)z�Generate (multiple) parametrized calls to a test function.

    :param metafunc:
        The :class:`~pytest.Metafunc` helper for the test function.
    Nr,)rts r-�pytest_generate_testsrv�r/r0�val�argnamec��dS)a�Return a user-friendly string representation of the given ``val``
    that will be used by @pytest.mark.parametrize calls, or None if the hook
    doesn't know about ``val``.

    The parameter name is available as ``argname``, if required.

    Stops at first non-None result, see :ref:`firstresult`.

    :param config: The pytest config object.
    :param val: The parametrized value.
    :param str argname: The automatic parameter name produced by pytest.
    Nr,)r8rwrxs   r-�pytest_make_parametrize_idrz�r/r0c��dS)a�Perform the main runtest loop (after collection finished).

    The default hook implementation performs the runtest protocol for all items
    collected in the session (``session.items``), unless the collection failed
    or the ``collectonly`` pytest option is set.

    If at any point :py:func:`pytest.exit` is called, the loop is
    terminated immediately.

    If at any point ``session.shouldfail`` or ``session.shouldstop`` are set, the
    loop is terminated after the runtest protocol for the current item is finished.

    :param session: The pytest session object.

    Stops at first non-None result, see :ref:`firstresult`.
    The return value is not used, but only stops further processing.
    Nr,rJs r-�pytest_runtestloopr|�r/r0�nextitemzOptional[Item]c��dS)aPerform the runtest protocol for a single test item.

    The default runtest protocol is this (see individual hooks for full details):

    - ``pytest_runtest_logstart(nodeid, location)``

    - Setup phase:
        - ``call = pytest_runtest_setup(item)`` (wrapped in ``CallInfo(when="setup")``)
        - ``report = pytest_runtest_makereport(item, call)``
        - ``pytest_runtest_logreport(report)``
        - ``pytest_exception_interact(call, report)`` if an interactive exception occurred

    - Call phase, if the the setup passed and the ``setuponly`` pytest option is not set:
        - ``call = pytest_runtest_call(item)`` (wrapped in ``CallInfo(when="call")``)
        - ``report = pytest_runtest_makereport(item, call)``
        - ``pytest_runtest_logreport(report)``
        - ``pytest_exception_interact(call, report)`` if an interactive exception occurred

    - Teardown phase:
        - ``call = pytest_runtest_teardown(item, nextitem)`` (wrapped in ``CallInfo(when="teardown")``)
        - ``report = pytest_runtest_makereport(item, call)``
        - ``pytest_runtest_logreport(report)``
        - ``pytest_exception_interact(call, report)`` if an interactive exception occurred

    - ``pytest_runtest_logfinish(nodeid, location)``

    :param item: Test item for which the runtest protocol is performed.
    :param nextitem: The scheduled-to-be-next test item (or None if this is the end my friend).

    Stops at first non-None result, see :ref:`firstresult`.
    The return value is not used, but only stops further processing.
    Nr,�r]r}s  r-�pytest_runtest_protocolr��r/r0�nodeid�locationc��dS)a{Called at the start of running the runtest protocol for a single item.

    See :hook:`pytest_runtest_protocol` for a description of the runtest protocol.

    :param nodeid: Full node ID of the item.
    :param location: A tuple of ``(filename, lineno, testname)``
        where ``filename`` is a file path relative to ``config.rootpath``
        and ``lineno`` is 0-based.
    Nr,�r�r�s  r-�pytest_runtest_logstartr��r/r0c��dS)ayCalled at the end of running the runtest protocol for a single item.

    See :hook:`pytest_runtest_protocol` for a description of the runtest protocol.

    :param nodeid: Full node ID of the item.
    :param location: A tuple of ``(filename, lineno, testname)``
        where ``filename`` is a file path relative to ``config.rootpath``
        and ``lineno`` is 0-based.
    Nr,r�s  r-�pytest_runtest_logfinishr�r/r0c��dS)aBCalled to perform the setup phase for a test item.

    The default implementation runs ``setup()`` on ``item`` and all of its
    parents (which haven't been setup yet). This includes obtaining the
    values of fixtures required by the item (which haven't been obtained
    yet).

    :param item:
        The item.
    Nr,r_s r-�pytest_runtest_setupr�r/r0c��dS)z�Called to run the test for test item (the call phase).

    The default implementation calls ``item.runtest()``.

    :param item:
        The item.
    Nr,r_s r-�pytest_runtest_callr�r/r0c��dS)amCalled to perform the teardown phase for a test item.

    The default implementation runs the finalizers and calls ``teardown()``
    on ``item`` and all of its parents (which need to be torn down). This
    includes running the teardown phase of fixtures required by the item (if
    they go out of scope).

    :param item:
        The item.
    :param nextitem:
        The scheduled-to-be-next test item (None if no further test item is
        scheduled). This argument is used to perform exact teardowns, i.e.
        calling just enough finalizers so that nextitem only needs to call
        setup functions.
    Nr,rs  r-�pytest_runtest_teardownr�(r/r0�callzCallInfo[None]r"c��dS)ajCalled to create a :class:`~pytest.TestReport` for each of
    the setup, call and teardown runtest phases of a test item.

    See :hook:`pytest_runtest_protocol` for a description of the runtest protocol.

    :param item: The item.
    :param call: The :class:`~pytest.CallInfo` for the phase.

    Stops at first non-None result, see :ref:`firstresult`.
    Nr,)r]r�s  r-�pytest_runtest_makereportr�:r/r0c��dS)z�Process the :class:`~pytest.TestReport` produced for each
    of the setup, call and teardown runtest phases of an item.

    See :hook:`pytest_runtest_protocol` for a description of the runtest protocol.
    Nr,rcs r-�pytest_runtest_logreportr�Jr/r0)r!r"c��dS)z�Serialize the given report object into a data structure suitable for
    sending over the wire, e.g. converted to JSON.

    :param config: The pytest config object.
    :param report: The report.
    Nr,)r8ras  r-�pytest_report_to_serializabler�Rr/r0�datac��dS)z�Restore a report object previously serialized with
    :hook:`pytest_report_to_serializable`.

    :param config: The pytest config object.
    Nr,)r8r�s  r-�pytest_report_from_serializabler�_r/r0�
fixturedef�FixtureDef[Any]�requestrc��dS)a�Perform fixture setup execution.

    :param fixturdef:
        The fixture definition object.
    :param request:
        The fixture request object.
    :returns:
        The return value of the call to the fixture function.

    Stops at first non-None result, see :ref:`firstresult`.

    .. note::
        If the fixture function returns None, other implementations of
        this hook function will continue to be called, according to the
        behavior of the :ref:`firstresult` option.
    Nr,�r�r�s  r-�pytest_fixture_setupr�pr/r0c��dS)aCalled after fixture teardown, but before the cache is cleared, so
    the fixture result ``fixturedef.cached_result`` is still available (not
    ``None``).

    :param fixturdef:
        The fixture definition object.
    :param request:
        The fixture request object.
    Nr,r�s  r-�pytest_fixture_post_finalizerr��r/r0c��dS)z�Called after the ``Session`` object has been created and before performing collection
    and entering the run test loop.

    :param session: The pytest session object.
    Nr,rJs r-�pytest_sessionstartr��r/r0�
exitstatusc��dS)z�Called after whole test run finished, right before returning the exit status to the system.

    :param session: The pytest session object.
    :param exitstatus: The status which pytest will return to the system.
    Nr,)rHr�s  r-�pytest_sessionfinishr��r/r0c��dS)zXCalled before test process is exited.

    :param config: The pytest config object.
    Nr,r:s r-�pytest_unconfigurer��r/r0�op�left�rightc��dS)aReturn explanation for comparisons in failing assert expressions.

    Return None for no custom explanation, otherwise return a list
    of strings. The strings will be joined by newlines but any newlines
    *in* a string will be escaped. Note that all but the first line will
    be indented slightly, the intention is for the first line to be a summary.

    :param config: The pytest config object.
    :param op: The operator, e.g. `"=="`, `"!="`, `"not in"`.
    :param left: The left operand.
    :param right: The right operand.
    Nr,)r8r�r�r�s    r-�pytest_assertrepr_comparer��r/r0�lineno�orig�explc��dS)ahCalled whenever an assertion passes.

    .. versionadded:: 5.0

    Use this hook to do some processing after a passing assertion.
    The original assertion information is available in the `orig` string
    and the pytest introspected assertion information is available in the
    `expl` string.

    This hook must be explicitly enabled by the ``enable_assertion_pass_hook``
    ini-file option:

    .. code-block:: ini

        [pytest]
        enable_assertion_pass_hook=true

    You need to **clean the .pyc** files in your project directory and interpreter libraries
    when enabling this option, as assertions will require to be re-written.

    :param item: pytest item object of current test.
    :param lineno: Line number of the assert statement.
    :param orig: String with the original assertion.
    :param expl: String with the assert explanation.
    Nr,)r]r�r�r�s    r-�pytest_assertion_passr��r/r0�
start_path�startdirc��dS)a�Return a string or list of strings to be displayed as header info for terminal reporting.

    :param config: The pytest config object.
    :param start_path: The starting dir.
    :param startdir: The starting dir (deprecated).

    .. note::

        Lines returned by a plugin are displayed before those of plugins which
        ran before it.
        If you want to have your line(s) displayed first, use
        :ref:`trylast=True <plugin-hookorder>`.

    .. note::

        This function should be implemented only in plugins or ``conftest.py``
        files situated at the tests root directory due to how pytest
        :ref:`discovers plugins during startup <pluginorder>`.

    .. versionchanged:: 7.0.0
        The ``start_path`` parameter was added as a :class:`pathlib.Path`
        equivalent of the ``startdir`` parameter. The ``startdir`` parameter
        has been deprecated.
    Nr,)r8r�r�s   r-�pytest_report_headerr��r/r0c��dS)a�Return a string or list of strings to be displayed after collection
    has finished successfully.

    These strings will be displayed after the standard "collected X items" message.

    .. versionadded:: 3.2

    :param config: The pytest config object.
    :param start_path: The starting dir.
    :param startdir: The starting dir (deprecated).
    :param items: List of pytest items that are going to be executed; this list should not be modified.

    .. note::

        Lines returned by a plugin are displayed before those of plugins which
        ran before it.
        If you want to have your line(s) displayed first, use
        :ref:`trylast=True <plugin-hookorder>`.

    .. versionchanged:: 7.0.0
        The ``start_path`` parameter was added as a :class:`pathlib.Path`
        equivalent of the ``startdir`` parameter. The ``startdir`` parameter
        has been deprecated.
    Nr,)r8r�r�rLs    r-�pytest_report_collectionfinishr�r/r0zPTestShortLogReport | Tuple[str, str, Union[str, Tuple[str, Mapping[str, bool]]]]c��dS)afReturn result-category, shortletter and verbose word for status
    reporting.

    The result-category is a category in which to count the result, for
    example "passed", "skipped", "error" or the empty string.

    The shortletter is shown as testing progresses, for example ".", "s",
    "E" or the empty string.

    The verbose word is shown as testing progresses in verbose mode, for
    example "PASSED", "SKIPPED", "ERROR" or the empty string.

    pytest may style these implicitly according to the report outcome.
    To provide explicit styling, return a tuple for the verbose word,
    for example ``"rerun", "R", ("RERUN", {"yellow": True})``.

    :param report: The report object whose status is to be returned.
    :param config: The pytest config object.
    :returns: The test status.

    Stops at first non-None result, see :ref:`firstresult`.
    Nr,)rar8s  r-�pytest_report_teststatusr�'r/r0�terminalreporterr$c��dS)a-Add a section to terminal summary reporting.

    :param terminalreporter: The internal terminal reporter object.
    :param exitstatus: The exit status that will be reported back to the OS.
    :param config: The pytest config object.

    .. versionadded:: 4.2
        The ``config`` parameter.
    Nr,)r�r�r8s   r-�pytest_terminal_summaryr�Cr/r0�warning_messagezwarnings.WarningMessage�whenz'Literal['config', 'collect', 'runtest']c��dS)aqProcess a warning captured by the internal pytest warnings plugin.

    :param warning_message:
        The captured warning. This is the same object produced by :py:func:`warnings.catch_warnings`, and contains
        the same attributes as the parameters of :py:func:`warnings.showwarning`.

    :param when:
        Indicates when the warning was captured. Possible values:

        * ``"config"``: during pytest configuration/initialization stage.
        * ``"collect"``: during test collection.
        * ``"runtest"``: during test execution.

    :param nodeid:
        Full id of the item.

    :param location:
        When available, holds information about the execution context of the captured
        warning (filename, linenumber, function). ``function`` evaluates to <module>
        when the execution context is at the module level.

    .. versionadded:: 6.0
    Nr,)r�r�r�r�s    r-�pytest_warning_recordedr�Sr/r0c��dS)a�Called when constructing the globals dictionary used for
    evaluating string conditions in xfail/skipif markers.

    This is useful when the condition for a marker requires
    objects that are expensive or impossible to obtain during
    collection time, which is required by normal boolean
    conditions.

    .. versionadded:: 6.2

    :param config: The pytest config object.
    :returns: A dictionary of additional globals to add.
    Nr,r:s r-�pytest_markeval_namespacer�xr/r0�excreprr�excinfozExceptionInfo[BaseException]c��dS)z�Called for internal errors.

    Return True to suppress the fallback handling of printing an
    INTERNALERROR message directly to sys.stderr.

    :param excrepr: The exception repr object.
    :param excinfo: The exception info.
    Nr,)r�r�s  r-�pytest_internalerrorr��r/r0�-ExceptionInfo[Union[KeyboardInterrupt, Exit]]c��dS)zLCalled for keyboard interrupt.

    :param excinfo: The exception info.
    Nr,)r�s r-�pytest_keyboard_interruptr��r/r0�nodez
CallInfo[Any]c��dS)a�Called when an exception was raised which can potentially be
    interactively handled.

    May be called during collection (see :hook:`pytest_make_collect_report`),
    in which case ``report`` is a :class:`CollectReport`.

    May be called during runtest of an item (see :hook:`pytest_runtest_protocol`),
    in which case ``report`` is a :class:`TestReport`.

    This hook is not called if the exception that was raised is an internal
    exception like ``skip.Exception``.

    :param node:
        The item or collector.
    :param call:
        The call information. Contains the exception.
    :param report:
        The collection or test report.
    Nr,)r�r�ras   r-�pytest_exception_interactr��r/r0�pdb�pdb.Pdbc��dS)z�Called upon pdb.set_trace().

    Can be used by plugins to take special action just before the python
    debugger enters interactive mode.

    :param config: The pytest config object.
    :param pdb: The Pdb instance.
    Nr,�r8r�s  r-�pytest_enter_pdbr��r/r0c��dS)aCalled when leaving pdb (e.g. with continue after pdb.set_trace()).

    Can be used by plugins to take special action just after the python
    debugger leaves interactive mode.

    :param config: The pytest config object.
    :param pdb: The Pdb instance.
    Nr,r�s  r-�pytest_leave_pdbr��r/r0)r)rr*N)r1rr2rr*N)r5rr)rr*N)r8rr*N)rHrr*N)rYrr*N)r]rr*N)rar!r*N)rYrr*rg)rtrr*N)rar"r*N)r�r�r�rr*N)r�r$r�rr8rr*N)r�r�r*N)r8rr�r�r*N)q�__doc__�pathlibr�typingrrrrrr	r
rr�pluggyr
�_pytest.deprecatedrr��warnings�typing_extensionsr�_pytest._code.coderr�_pytest.configrrrr�_pytest.config.argparsingr�_pytest.fixturesrr�_pytest.mainr�
_pytest.nodesrr�_pytest.outcomesr�_pytest.pythonrrrr �_pytest.reportsr!r"�_pytest.runnerr#�_pytest.terminalr$r%�_pytest.compatr&�hookspecr.r4r7r;�strr?rB�intrDrG�objectrKrNrP�boolrTrXr\r`rdrfrirlrprsrvrzr|r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r,r0r-�<module>r�s�
���������������������������������������������������� � � � � � �������!�!�!�!�!�!�<�<�<�<�<�<��+��J�J�J��O�O�O�)�)�)�)�)�)�0�0�0�0�0�0�0�0�0�0�0�0�%�%�%�%�%�%�'�'�'�'�'�'�2�2�2�2�2�2�,�,�,�,�,�,�0�0�0�0�0�0�+�+�+�+�+�+�+�+�+�+�+�+�$�$�$�$�$�$�'�'�'�'�'�'�"�"�"�"�"�"�%�%�%�%�%�%�$�$�$�$�$�$�'�'�'�'�'�'�'�'�'�'�'�'�%�%�%�%�%�%�-�-�-�-�-�-�*�*�*�*�*�*�'�'�'�'�'�'�1�1�1�1�1�1�3�3�3�3�3�3�*�*�*�*�*�*��>�(�#�#��
��4����������
��4����
��
�&;�
�	�
�
�
���
�
��4����#�#�#���#�L
��4����
�
�
���
�,
��d�����(��04�S�	��
�h��������$
��4�5�5�5��H��D��I��$����6�5��
��d�������X�e�J��O�6L�-M����������$,��48��I��	�����(
��d����!�y�!�X�f�-=�!�!�!���!�H	�
�	� (�	�15�f��	�	�	�	�	�	�����
��d�������!.��8@��
�d�^�������*���(��2=�������(�������������X�f�-��$�����
��d���������� 
��d�������*��
�h��������,
��d������&�'��/2��9?��
�4���d�5�1D�+E�&F�F�G�������$
��d�����:��(�6�2B�����������
��d�������!��,/��
�c�]�������,
��d�����	��h�v�.>�������(
��d����"�
�"�,�"�
�f��"�"�"���"�J��� ��h�s�m�S�!8�9��	�������� ��h�s�m�S�!8�9��	�����
�
�
�
������&��H�V�4D�������$
��d�����
��(��
�l������������
��d����	��	��/�0�	��d�3��8�n��	�	�	���	�
��d�������
�s�C�x�.���e�1�2�3������� 
��d�����!��,8��
�f��������*�!��,8��	�����&�����
���c�:�o�&��
��������������%+��4:��
�d�3�i������"�����3��c��d�����B���"&��2?��
�3��S�	�>������:��������F��	�
�3��S�	�>������@
��d������/�0��:B��W�������6
�(�
��
�
�
�
�	
�
�
�
� 
��4�����.��
3��
���u�S�#�s�]�+�,�	�

�������H���	�#�s�(�^�����.�
��
+���d�^������
<��	������
�#�
$��
��
�/�0��
�	����4���������r0