B
    `
                 @   s   d Z ddlmZ ddlmZ ddlmZ dddhZeedZeed	Zed
Z	edZ
edZedZedZedZedZedd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.
    )warn)PytestDeprecationWarning)UnformattedWarningZpytest_catchlogZpytest_capturelogZpytest_faulthandlerzp{name} is deprecated, use function._request._fillfixtures() instead if you cannot avoid reaching into internals.zOpytest.collect.{name} was moved to pytest.{name}
Please update to the new name.zT@pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.zIThe `-k '-expr'` syntax to -k is deprecated.
Use `-k 'not expr'` instead.ziThe `-k 'expr:'` syntax to -k is deprecated.
Please open an issue if you use this and want a replacement.z~The pytest_warning_captured is deprecated and will be removed in a future release.
Please use pytest_warning_recorded instead.zThe gethookproxy() and isinitpath() methods of FSCollector and Package are deprecated; use self.session.gethookproxy() and self.session.isinitpath() instead. z@The --strict option is deprecated, use --strict-markers instead.z,A private pytest class or function was used.N)ispytestreturnc             C   s   | st tdd d S )N   )
stacklevel)r   PRIVATE)r    r
   Z/home/kop/projects/devel/pgwui/test_venv/lib/python3.7/site-packages/_pytest/deprecated.pycheck_ispytestU   s    r   )__doc__warningsr   Z_pytest.warning_typesr   r   ZDEPRECATED_EXTERNAL_PLUGINSZFILLFUNCARGSZPYTEST_COLLECT_MODULEZYIELD_FIXTUREZMINUS_K_DASHZMINUS_K_COLONZWARNING_CAPTURED_HOOKZ#FSCOLLECTOR_GETHOOKPROXY_ISINITPATHZSTRICT_OPTIONr	   boolr   r
   r
   r
   r   <module>
   s4   