B
    ܇\                 @   s   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 ddlmZ dZ	d	Z
ed
ZdZedZedZedZedZedZedZdZedZedZedZeedZdS )a  
This module contains 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 PytestWarning instances or UnformattedWarning
in case of warnings which need to format their messages.
    )absolute_import)division)print_function)PytestDeprecationWarning)RemovedInPytest4Warning)UnformattedWarningz?yield tests were removed in pytest 4.0 - {name} will be ignoredaf  Fixture "{name}" called directly. Fixtures are not meant to be called directly,
but are created automatically when test functions request them as parameters.
See https://docs.pytest.org/en/latest/fixture.html for more information about fixtures, and
https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly about how to update your code.zT'request' is a reserved name for fixtures and will raise an error in future versionsz][pytest] section in {filename} files is no longer supported, change to [tool:pytest] instead.z2getfuncargvalue is deprecated, use getfixturevaluezThe 'message' parameter is deprecated.
(did you mean to use `match='some regex'` to check the exception message?)
Please comment on https://github.com/pytest-dev/pytest/issues/3974 if you have concerns about removal of this parameter.z--result-log is deprecated and scheduled for removal in pytest 5.0.
See https://docs.pytest.org/en/latest/deprecations.html#result-log-result-log for more information.zMarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-codezraises(..., 'code(as_a_string)') is deprecated, use the context manager form or use `exec()` directly

See https://docs.pytest.org/en/latest/deprecations.html#raises-warns-execzwarns(..., 'code(as_a_string)') is deprecated, use the context manager form or use `exec()` directly.

See https://docs.pytest.org/en/latest/deprecations.html#raises-warns-execaX  Defining 'pytest_plugins' in a non-top-level conftest is no longer supported because it affects the entire directory tree in a non-explicit way.
  {}
Please move it to a top level conftest file at the rootdir:
  {}
For more information, visit:
  https://docs.pytest.org/en/latest/deprecations.html#pytest-plugins-in-non-top-level-conftest-fileszthe `pytest.config` global is deprecated.  Please use `request.config` or `pytest_configure` (if you're a pytest plugin) instead.zkpytest/tmpdir_factory.ensuretemp is deprecated, 
please use the tmp_path fixture or tmp_path_factory.mktempz|pytest_logwarning is deprecated, no longer being called, and will be removed soon
please use pytest_warning_captured insteadzdpytest.warns() got unexpected keyword arguments: {args!r}.
This will be an error in future versions.N)__doc__Z
__future__r   r   r   Z_pytest.warning_typesr   r   r   ZYIELD_TESTSZFIXTURE_FUNCTION_CALLZFIXTURE_NAMED_REQUESTZCFG_PYTEST_SECTIONZGETFUNCARGVALUEZRAISES_MESSAGE_PARAMETERZ
RESULT_LOGZMARK_INFO_ATTRIBUTEZRAISES_EXECZ
WARNS_EXECZ*PYTEST_PLUGINS_FROM_NON_TOP_LEVEL_CONFTESTZPYTEST_CONFIG_GLOBALZPYTEST_ENSURETEMPZPYTEST_LOGWARNINGZPYTEST_WARNS_UNKNOWN_KWARGS r	   r	   1lib/python3.7/site-packages/_pytest/deprecated.py<module>
   sB   	