Ofek Lev
86602ce6e0
Fix packaging example
2022-10-12 11:51:26 -04:00
Thomas Grainger
8a40fc5315
PytestReturnNotNoneWarning now subclasses PytestRemovedIn8Warning ( #10196 )
...
As discussed in https://github.com/pytest-dev/pytest/pull/9956#issuecomment-1132710934 .
Also added PytestRemovedIn8Warning to the reference docs.
2022-10-09 20:10:45 -03:00
Vivaan Verma
196f01965e
Replace entrypoint example with `pyproject.toml` in docs ( #10359 )
...
Fixes #10344
2022-10-09 17:42:42 -03:00
Simon K
3bf2bc55b1
Add deprecations for tests written for `nose` ( #9907 )
...
Fixes #9886
2022-10-09 17:16:33 -03:00
Samuel Gaist
a28d595b46
doc: add note to help modernize code bases to use pathlib
...
Fixes #10199
2022-10-08 10:18:08 +02:00
wodny
2bc036e50a
Mention pythonpath confval in Good Integration Practices ( #10314 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-07 13:03:13 -03:00
Bruno Oliveira
79c2e92bb8
Merge pull request #10349 from nicoddemus/doc-setup-teardown-nose
2022-10-07 11:48:09 -03:00
Florian Bruhin
9be1e3fac8
doc: Add second day for enterPy training ( #10348 )
2022-10-07 16:13:05 +02:00
Bruno Oliveira
0c21d60349
Improve documentation for setup() and teardown() nose support
...
Fix #9549
2022-10-07 11:10:28 -03:00
Thierry Moisan
06007de7ba
Fix a few broken links in the documentation
2022-10-05 10:24:55 -04:00
Ronny Pfannschmidt
0fdacb6db5
deprecate hook configuration via marks/attributes
...
fixes #4562
2022-09-20 16:22:26 +02:00
Fredrik Berndtsson
246129089c
doc: Fix 404 'identify flaky test' link ( #10244 )
2022-09-15 23:34:22 +02:00
Florian Bruhin
34765f6b2e
doc: Add link for enterPy training ( #10299 )
2022-09-15 17:07:02 +02:00
pytest bot
f53b49c8c4
[automated] Update plugin list
2022-09-11 00:22:18 +00:00
skhomuti
c326bd5669
Add allure-pytest to the popular plugins list
2022-09-08 22:12:44 +05:00
Florian Bruhin
1e0aa16908
Update open trainings
2022-09-07 14:48:49 +02:00
Bruno Oliveira
77e34526e8
Merge pull request #10225 from nicoddemus/sort-fixtures-docs
2022-09-06 08:33:27 -03:00
pytest bot
50f390f015
[automated] Update plugin list
2022-09-04 00:23:26 +00:00
Bruno Oliveira
7f4b63b143
Merge pull request #10259 from pytest-dev/release-7.1.3
...
Prepare release 7.1.3
(cherry picked from commit 3739e6cd4830cf707dff3fb5c5b93d7a2cec3663)
2022-09-02 08:24:18 -03:00
Philipp A
245a8c23dd
Revamp good practices ( #10206 )
...
* Recommend importlib import mode for new projects
* Recommend src layout more strongly
* Switch to hatchling as the packaging tool in the example (following PyPA)
* Add explanation about the different import modes
2022-09-01 07:55:41 -03:00
Bruno Oliveira
a9bbfb87d6
Merge pull request #10252 from nicoddemus/fix-regendoc
...
Fix regendoc
2022-08-31 14:32:36 -03:00
Bruno Oliveira
1caa099e42
Fix regendoc
...
The finalizers example was wiping out code needed for the examples below.
2022-08-31 14:28:33 -03:00
github-actions[bot]
0fc3a977a9
[automated] Update plugin list ( #10253 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2022-08-29 17:49:38 -03:00
pytest bot
932264d8fd
[automated] Update plugin list
2022-08-21 00:21:46 +00:00
Sviatoslav Sydorenko
71aa1388e0
Drop `wheel` from `pyproject.toml` example
...
It is unnecessary and has been deleted from the setuptools' docs too.
The setuptools' PEP 517 build backend implementation has been
auto-adding the `wheel` dependency since it's first been implemented.
2022-08-19 19:01:40 +02:00
Tatiana Ovary
3039391b83
Update documentation on how pytest.warns affects DeprecationWarning #9291 ( #10141 )
...
Co-authored-by: Dani Sancas <lord.sancas@gmail.com>
On-behalf-of: @clarityai-eng <tech@clarity.ai>
Signed-off-by: Tatiana Ovary <tatiana.ovary@clarity.ai>
2022-08-17 11:44:58 -03:00
Bruno Oliveira
832100955a
Sort fixtures in reference.rst alphabetically
...
While taking a look at the docs I noticed they were not properly sorted.
This just moves the sections around so they are sorted alphabetically, without any other changes.
2022-08-17 11:40:03 -03:00
aizpurua23a
7378f35b03
Update fixtures.rst w/ finalizer order
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2022-08-15 14:00:03 -03:00
Bruno Oliveira
2e7c718373
Add reference to the Where to patch docs in monkeypatch.setattr ( #10217 )
...
This should help users with the common issue of patching the wrong place.
Also took the opportunity of using proper links in the monkeypatch introduction.
Related to #10216
Co-authored-by: Ran Benita <ran@unusedvar.com>
2022-08-15 13:55:19 -03:00
github-actions[bot]
f425dfc158
[automated] Update plugin list ( #10214 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2022-08-14 05:07:01 -03:00
Ran Benita
7431750bb6
doc: have tighter control on what autodoc shows
...
New versions of sphinx starting showing `__init__` parameters even when
we don't want them to show because they are private (have `_ispytest`
argument).
The only working solution I found was to switch to
`autodoc_typehints_description_target = "documented"` and explicitly
document parameters for which we want to show the types. It's a little
tedious and repetitive in some simple cases, but overall it results in
nicer API docs.
2022-08-13 21:46:49 +03:00
Ran Benita
cb7f5ed3b1
doc: require sphinx 5
...
Fix #9836 .
2022-08-13 21:45:54 +03:00
github-actions[bot]
abd5df4b3c
[automated] Update plugin list ( #10194 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2022-08-12 11:06:48 +02:00
pytest bot
c0e3071fdf
[automated] Update plugin list
2022-07-31 00:22:46 +00:00
pytest bot
3bf15135e4
[automated] Update plugin list
2022-07-24 00:25:01 +00:00
Bruno Oliveira
6c57cc1727
Merge pull request #10158 from albertvillanova/patch-3
2022-07-23 14:01:38 -03:00
Albert Villanova del Moral
8c5487fd6b
Fix cross-reference in reference/reference docs
2022-07-20 00:01:23 +02:00
Albert Villanova del Moral
4696ba74f9
Fix typo in example/markers docs
2022-07-19 22:16:14 +02:00
Stephen Rosen
b8e2f42ec1
Add monkeypatch.context() to how-to doc intro
2022-07-15 19:26:36 +00:00
Wolfremium
70cac3d464
Explicit note that tmpdir fixture is discouraged in favour of tmp_path #9937 ( #10138 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
Co-authored-by: kevin.hierro-ext <kevin.hierro-ext@clarity.ai>
Co-authored-by: Dani Sancas <lord.sancas@gmail.com>
2022-07-15 08:40:18 -03:00
pytest bot
dda7673f57
[automated] Update plugin list
2022-07-10 00:24:23 +00:00
Florian Bruhin
4449bdc068
Remove europython training ( #10107 )
2022-07-06 13:05:08 +02:00
pytest bot
04de180f41
[automated] Update plugin list
2022-07-03 00:22:59 +00:00
Anthony Sottile
1b47de7d7f
update does_not_raise docs now that pytest is 3.7+ only
2022-06-29 13:13:15 -04:00
Bruno Oliveira
9a037a5713
Merge pull request #10076 from pytest-dev/update-plugin-list/patch-aafac5578
...
[automated] Update plugin list
2022-06-26 10:54:01 -03:00
Bruno Oliveira
11fb5cd331
Merge pull request #10054 from SnoopJeDi/doc/xfail-multiple-exceptions
...
Indicate support for a tuple of exceptions in xfail raises=
2022-06-26 09:54:18 -03:00
pytest bot
62d975a69e
[automated] Update plugin list
2022-06-26 00:25:07 +00:00
Zac Hatfield-Dodds
d2a206683c
Merge pull request #10073 from Kache/main
...
Clarify writing_plugins naming instructions
2022-06-24 23:27:58 -07:00
Kevin C
0a7b8722e5
Clarify writing_plugins naming instructions
...
Fixes : #10072
2022-06-23 18:03:18 -07:00
Bruno Oliveira
aa55975c7d
Doc: Clear mailbox before deleting the user ( #10068 )
2022-06-23 21:47:39 -03:00