test_ok2/doc/en
Simon K eb6c4493b2
Deprecation of `msg=` for both `pytest.skip()` and `pytest.fail()`. (#8950)
* porting pytest.skip() to use reason=, adding tests

* avoid adding **kwargs, it breaks other functionality, use optional msg= instead

* deprecation of `pytest.fail(msg=...)`

* fix bug with not capturing the returned reason value

* pass reason= in acceptance async tests instead of msg=

* finalising deprecations of `msg` in `pytest.skip()` and `pytest.fail()`

* Update doc/en/deprecations.rst

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>

* Update doc/en/deprecations.rst

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>

* fix failing test after upstream merge

* adding deprecation to `pytest.exit(msg=...)`

* add docs for pytest.exit deprecations

* finalising deprecation of msg for pytest.skip, pytest.exit and pytest.fail

* hold a reference to the Scope instance to please mypy

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2021-11-08 15:31:14 +01:00
..
_templates Restructured global TOC 2021-03-15 23:20:55 +00:00
announce replace hardcoded links to github pull requests with extlinks 2021-11-07 15:18:36 +01:00
example Replace hardcoded links to PyPI with extlinks (#9224) 2021-10-22 09:47:57 -03:00
explanation Replace hardcoded links to Github issues with extlinks (#9234) 2021-11-06 11:16:11 +02:00
how-to Replace hardcoded links to Github issues with extlinks (#9234) 2021-11-06 11:16:11 +02:00
img Use transparent PNG for logo (#8159) 2020-12-16 11:19:45 -03:00
proposals Replace hardcoded links to PyPI with extlinks (#9224) 2021-10-22 09:47:57 -03:00
reference Deprecation of `msg=` for both `pytest.skip()` and `pytest.fail()`. (#8950) 2021-11-08 15:31:14 +01:00
Makefile fix #8818 - run regendoc without tox cachedir 2021-10-04 08:56:26 +02:00
adopt.rst Replace hardcoded links to Github issues with extlinks (#9234) 2021-11-06 11:16:11 +02:00
backwards-compatibility.rst Replace hardcoded links to Github issues with extlinks (#9234) 2021-11-06 11:16:11 +02:00
builtin.rst fix #8818 - run regendoc without tox cachedir 2021-10-04 08:56:26 +02:00
changelog.rst Merge pull request #9276 from hoefling/doc/extlinks-bpo 2021-11-08 09:41:26 -03:00
conf.py Merge pull request #9276 from hoefling/doc/extlinks-bpo 2021-11-08 09:41:26 -03:00
conftest.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
contact.rst adding contact and badge for pytest-dev discord server (#9078) 2021-09-12 18:22:44 +01:00
contents.rst Remove obsolete projects page from docs 2021-09-14 08:04:49 -03:00
contributing.rst Updated documentation from txt to rst 2015-08-04 16:41:02 +05:30
deprecations.rst Deprecation of `msg=` for both `pytest.skip()` and `pytest.fail()`. (#8950) 2021-11-08 15:31:14 +01:00
development_guide.rst adopt main terminology in the configs 2021-03-09 22:35:34 +01:00
funcarg_compare.rst replace hardcoded urls to docs.pytest.org with internal crossrefs, add external crossrefs where possible 2021-10-04 00:23:41 +02:00
funcargs.rst fix line endings 2018-05-23 16:45:23 +02:00
getting-started.rst Merge pull request #9158 from hoefling/doc/internal-crossrefs 2021-10-05 08:43:19 +11:00
historical-notes.rst replace hardcoded links to github pull requests with extlinks 2021-11-07 15:18:36 +01:00
history.rst Replace hardcoded links to PyPI with extlinks (#9224) 2021-10-22 09:47:57 -03:00
index.rst Replace hardcoded links to PyPI with extlinks (#9224) 2021-10-22 09:47:57 -03:00
license.rst Update license.rst 2021-05-08 23:45:20 +05:30
naming20.rst Updated documentation from txt to rst 2015-08-04 16:41:02 +05:30
py27-py34-deprecation.rst Replace hardcoded links to Github issues with extlinks (#9234) 2021-11-06 11:16:11 +02:00
pytest.ini added "docs/en" directory and moved 2012-06-06 08:52:53 +09:00
recwarn.rst Add docs for the warnings functionality 2017-03-20 23:35:01 -03:00
requirements.txt Include figures in PDF docs 2021-09-02 17:40:41 -06:00
sponsor.rst fix typos in docs 2019-12-19 10:35:15 +01:00
talks.rst "fix" a couple of http -> https redirects 2021-04-26 17:44:27 +02:00
tidelift.rst Update Tidelift docs with latest campaign 2019-10-24 14:58:58 -03:00
yieldfixture.rst Remove all version references to obsolete pytest versions 2019-04-28 12:37:58 -03:00