
    F-PhK                        d 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 h dZ	 ed          Z
 ed	          Z eed
          Z eed          Z eed          Z ed          ZddZdS )a  Deprecation messages and bits of code used elsewhere in the codebase that
is planned to be removed in the next pytest release.

Keeping it in a central location makes it easy to track what is deprecated and should
be removed when the time comes.

All constants defined in this module should be either instances of
:class:`PytestWarning`, or :class:`UnformattedWarning`
in case of warnings which need to format their messages.
    )annotations)warn)PytestDeprecationWarning)PytestRemovedIn9Warning)UnformattedWarning>   pytest_catchlogpytest_capturelogpytest_faulthandlerzT@pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.z,A private pytest class or function was used.zThe ({pylib_path_arg}: py.path.local) argument is deprecated, please use ({pathlib_path_arg}: pathlib.Path)
see https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-pathzThe (fspath: py.path.local) argument to {node_type_name} is deprecated. Please use the (path: pathlib.Path) argument instead.
See https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-patha  The hook{type} {fullname} uses old-style configuration options (marks or attributes).
Please use the pytest.hook{type}({hook_opts}) decorator instead
 to configure the hooks.
 See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markerszMarks applied to fixtures have no effect
See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-functionispytestboolreturnNonec                :    | st          t          d           d S d S )N   )
stacklevel)r   PRIVATE)r   s    R/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/_pytest/deprecated.pycheck_ispytestr   Y   s-     $W######$ $    N)r   r   r   r   )__doc__
__future__r   warningsr   _pytest.warning_typesr   r   r   DEPRECATED_EXTERNAL_PLUGINSYIELD_FIXTUREr   HOOK_LEGACY_PATH_ARGNODE_CTOR_FSPATH_ARGHOOK_LEGACY_MARKINGMARKED_FIXTUREr    r   r   <module>r!      s:  	 	 # " " " " "       : : : : : : 9 9 9 9 9 9 4 4 4 4 4 4
    )(6  #
"#Q
R
R *)D   *)H   )(2   )(j 0$ $ $ $ $ $r   