github-actions[bot]
c6ed86453f
[automated] Update plugin list ( #11811 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2024-01-14 01:04:53 -03:00
github-actions[bot]
5747a6c06e
[automated] Update plugin list ( #11784 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2024-01-07 10:20:38 -03:00
Ran Benita
f017df443a
Merge pull request #11757 from bluetech/rm-removed-in-8
...
Remove pytest 8 deprecations
2024-01-03 16:53:10 +02:00
Ran Benita
215f4d1fab
Remove `PytestRemovedIn8Warning`
...
Per our deprecation policy.
2024-01-03 14:29:45 +02:00
Marc Bresson
effc2b0529
Clarified `markers` ini property. Fix #11738 ( #11739 )
2024-01-03 14:20:54 +02:00
Ran Benita
f4e7b0d6e0
Remove deprecated `pytest_cmdline_preparse` hook
2024-01-02 12:20:47 +02:00
Ran Benita
d3c7ba310c
Merge pull request #11744 from pytest-dev/release-8.0.0rc1
...
Prepare release 8.0.0rc1
(cherry picked from commit 665e4e58d3fba8319e922674c286e92f070e6ec3)
2024-01-02 10:59:26 +02:00
pytest bot
460c38915d
[automated] Update plugin list
2023-12-31 00:20:30 +00:00
Ran Benita
acd445a3f3
Merge pull request #11646 from bluetech/pkg-collect
...
Rework Session and Package collection
2023-12-30 12:51:48 +02:00
pytest bot
f93c0fc34e
[automated] Update plugin list
2023-12-24 00:20:08 +00:00
Michał Górny
52db918a27
Fix handling empty values of NO_COLOR and FORCE_COLOR ( #11712 )
...
* Fix handling empty values of NO_COLOR and FORCE_COLOR
Fix handling NO_COLOR and FORCE_COLOR environment variables to correctly
be ignored when they are set to an empty value, as defined
in the specification:
> Command-line software which adds ANSI color to its output by default
> should check for a NO_COLOR environment variable that, when present
> *and not an empty string* (regardless of its value), prevents
> the addition of ANSI color.
(emphasis mine, https://no-color.org/ )
The same is true of FORCE_COLOR, https://force-color.org/ .
* Streamline testing for FORCE_COLOR and NO_COLOR
Streamline the tests for FORCE_COLOR and NO_COLOR variables, and cover
all possible cases (unset, set to empty, set to "1"). Combine the two
assert functions into one taking boolean parameters. Mock file.isatty
in all circumstances to ensure that the environment variables take
precedence over the fallback value resulting from isatty check (or that
the fallback is actually used, in the case of both FORCE_COLOR
and NO_COLOR being unset).
2023-12-23 10:12:13 +02:00
pytest bot
27f7cee238
[automated] Update plugin list
2023-12-17 00:20:43 +00:00
Arthur Richard
047ba83dab
Improve pytest.exit docs ( #11698 )
...
Fixes #11695
2023-12-14 08:14:36 -03:00
Tom Mortimer-Jones
2b86d2bddc
Typo in fixtures.rst ( #11699 )
2023-12-13 13:24:43 +01:00
Ran Benita
385796ba49
Rework Session and Package collection
...
Fix #7777 .
2023-12-10 17:01:39 +02:00
Ran Benita
c7fcb3f281
Merge pull request #11689 from pytest-dev/update-plugin-list/patch-d1675646f
...
[automated] Update plugin list
2023-12-10 09:59:06 +02:00
Ran Benita
c1339628d6
Merge pull request #11684 from bluetech/docs-nitpicky
...
docs: enable Sphinx nitpicky mode
2023-12-10 09:42:30 +02:00
Ran Benita
397769c45e
Merge pull request #11677 from bluetech/nodes-abc
...
nodes,python: mark abstract node classes as ABCs
2023-12-10 09:41:46 +02:00
pytest bot
5381cd083f
[automated] Update plugin list
2023-12-10 00:20:38 +00:00
Ran Benita
0ae02e2165
nodes,python: mark abstract node classes as ABCs
...
Fixes #11676
2023-12-07 16:41:07 +02:00
Ran Benita
f76af423b0
doc/reference: document `FixtureLookupError`
2023-12-07 11:50:02 +02:00
Ran Benita
9056db4de5
doc: fix some broken Sphinx references
2023-12-07 00:30:35 +02:00
Ran Benita
a5ee9f2ecd
doc: document `pytest.{hookspec,hookimpl}` in the API Reference
...
Makes sense for them to be there; also allows for Sphinx refs.
2023-12-07 00:11:42 +02:00
github-actions[bot]
714ce2e872
[automated] Update plugin list ( #11658 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-12-03 11:49:36 -03:00
github-actions[bot]
e0d5754d5d
[automated] Update plugin list ( #11640 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-11-26 11:09:03 -03:00
github-actions[bot]
476bab84f7
[automated] Update plugin list ( #11627 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-11-19 11:57:25 -03:00
Patrick Lannigan
9dc1fc4523
Add verbosity_assertions and config.get_verbosity
...
Fixes #11387
2023-11-19 11:56:29 -03:00
Avasam
80442ae2f2
Use `False`, instead of `None` as default for `_XfailMarkDecorator`'s `condition` param and update doc ( #11600 )
2023-11-17 10:42:05 +02:00
github-actions[bot]
99f7738810
[automated] Update plugin list ( #11607 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-11-12 10:41:08 -03:00
github-actions[bot]
e701df5eb6
[automated] Update plugin list ( #11587 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-11-06 18:40:44 -03:00
Bruno Oliveira
1e02797d15
Improve pytest.raises docs ( #11578 )
2023-11-04 10:24:57 +00:00
Ran Benita
8fb7e8b31e
Merge pull request #11567 from bluetech/fix-ref-tocdepth
...
doc/reference: fix sidebar TOC depth
2023-10-30 09:01:54 +02:00
Ran Benita
4ecf313604
doc/reference: fix sidebar TOC depth
...
Previously, the sidebar TOC had unlimited depth, making it useless and
interfering with the content. This seems to have regressed in pytest
7.2.x going by the RTD version selector.
2023-10-29 21:55:17 +02:00
pytest bot
d0a09d8627
[automated] Update plugin list
2023-10-29 00:19:06 +00:00
Bruno Oliveira
ee53433542
Configure ReadTheDocs to fail on warnings ( #11535 )
...
* Configure ReadTheDocs to fail on warnings
Important to catch broken links and references.
* Remove dead link to distutils configuration docs
2023-10-23 09:56:33 -03:00
github-actions[bot]
cac1eed0ea
[automated] Update plugin list ( #11534 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-10-21 23:43:14 -03:00
github-actions[bot]
dd68f9c95a
[automated] Update plugin list ( #11504 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-10-15 10:03:38 -03:00
github-actions[bot]
2401d76655
[automated] Update plugin list ( #11487 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-10-09 08:32:49 -03:00
github-actions[bot]
d015bc1b8f
[automated] Update plugin list ( #11472 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-10-02 08:39:53 -03:00
pytest bot
c614590ec9
[automated] Update plugin list
2023-09-24 00:18:30 +00:00
github-actions[bot]
8bac8d7807
[automated] Update plugin list ( #11443 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-09-18 13:20:47 -03:00
github-actions[bot]
24a6ee1ffd
[automated] Update plugin list ( #11422 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-09-10 13:09:41 +00:00
Stefaan Lippens
3ce63bc768
Improve plugin list disclaimer ( #11397 )
...
Closes #11391
2023-09-06 07:34:38 -03:00
github-actions[bot]
4e3a0874df
[automated] Update plugin list ( #11380 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-09-02 22:13:17 -03:00
Bruno Oliveira
f08782d8d0
Merge pull request #11377 from pytest-dev/release-7.4.1
...
Prepare release 7.4.1
(cherry picked from commit 82eb86f707cac79f33d0ff69723ccf1cea7e75f7)
2023-09-02 12:45:58 -03:00
Sean Patrick Malloy
76ba7db6ce
Improve docs for last-failed-no-failures
...
Improve documentation for last-failed-no-failures to make the different options and the functionality more clear.
Closes #11354
2023-08-29 00:14:45 +00:00
github-actions[bot]
17e8f2b3fc
[automated] Update plugin list ( #11358 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-08-27 11:29:17 -03:00
Ran Benita
77f7f59b2a
Fixes for typed pluggy
...
Since version 1.3 pluggy added typing, which requires some fixes to
please mypy.
2023-08-26 22:13:24 +03:00
github-actions[bot]
4deb38b2ed
[automated] Update plugin list ( #11329 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2023-08-21 13:19:58 +00:00
Ran Benita
370eacd3ca
doc/reference: replace Unicode dashes with ascii `-` in cli flags ( #11323 )
2023-08-21 14:40:03 +02:00