github-actions[bot]
252cf3bf8f
[automated] Update plugin list ( #13323 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2025-03-23 18:12:04 +01:00
github-actions[bot]
23e496bf62
[automated] Update plugin list ( #13301 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2025-03-16 09:26:43 +00:00
github-actions[bot]
611f336b80
[automated] Update plugin list ( #13282 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2025-03-09 06:26:22 +00:00
Florian Bruhin
72031556c7
doc: Update trainings ( #13280 )
2025-03-08 12:19:13 +01:00
jakkdl
4c6ded7b0c
docs fixes after removing the raises_group alias.
2025-03-05 16:34:49 +01:00
jakkdl
5186f3677e
Merge remote-tracking branch 'origin/main' into raisesgroup
2025-03-03 12:28:16 +01:00
jakkdl
4e9765203d
remove raises_group alias, doc fixes after review
2025-03-03 12:27:48 +01:00
Tony Narlock
e18b245f0a
chore(changelog) Minor typo fix ( #13267 )
2025-03-02 17:12:28 +01:00
Bruno Oliveira
4603564f64
Merge pull request #13264 from pytest-dev/release-8.3.5
...
Release 8.3.5
(cherry picked from commit f004b11caf
)
2025-03-02 10:14:04 -03:00
Bruno Oliveira
87018dbfeb
Merge pull request #13018 from pytest-dev/release-8.3.4
...
Prepare release 8.3.4
(cherry picked from commit 4707416fa1
)
2025-03-02 10:14:01 -03:00
github-actions[bot]
bc4abe4d4b
[automated] Update plugin list ( #13261 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2025-03-02 01:52:27 +00:00
John Litborn
5bd393cf01
add --disable-plugin-autoload ( #13253 )
...
* add --disable-plugin-autoload
* update comments in test, don't check __spec__ on pypy (????), add changelog
* pemdas except not
* Apply suggestions from code review
Co-authored-by: Florian Bruhin <me@the-compiler.org>
* add parens
* Simplify plugin name in test_installed_plugin_rewrite
* Apply suggestions from code review
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: Florian Bruhin <me@the-compiler.org>
Co-authored-by: Bruno Oliveira <bruno@pytest.org>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-01 14:27:25 -08:00
mwychung
ca351458d8
Added dedicated page about using types with pytest #12842 ( #12963 )
...
Fixes #12842
---------
Co-authored-by: Bruno Oliveira <bruno@pytest.org>
2025-03-01 13:00:57 -03:00
Andrew Pikul
d3adf46ad7
Add capteesys capture fixture to bubble up output to `--capture` handler ( #12854 )
...
The config dict is passed alongside the class that the fixture will eventually initialize. It can use the config dict for optional arguments to the implementation's constructor.
2025-03-01 12:37:16 -03:00
Vincent (Wen Yu) Ge
9f3c4d11d9
Add more resources and studies to flaky tests page in docs ( #13250 )
...
---
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Bruno Oliveira <bruno@soliv.dev>
2025-03-01 14:23:13 +00:00
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
c4028e90bb
Merge pull request #13256 from webknjaz/maintenance/towncrier-bump
2025-03-01 14:28:22 +01:00
Anton Zhilin
611bb13108
Allow hiding a parameter set from test name ( #13229 )
...
Fixes #13228
---------
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2025-03-01 10:06:40 -03:00
Sviatoslav Sydorenko
22fe7b17fa
📦 📝 Allow modern Towncrier in docs builds
...
https://github.com/sphinx-contrib/sphinxcontrib-towncrier/issues/92
has been resolved and the recent Towncrier versions are compatible
with the `sphinxcontrib.towncrier` Sphinx extension project yet again.
2025-02-28 15:07:26 +01:00
John Litborn
edfcc863b1
Merge branch 'main' into raisesgroup
2025-02-24 11:55:51 +01:00
github-actions[bot]
77f2c63a54
[automated] Update plugin list ( #13247 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2025-02-23 12:40:57 -03:00
jakkdl
ad6542ec77
Merge remote-tracking branch 'origin/main' into raisesgroup
2025-02-18 15:11:26 +01:00
jakkdl
9714dc0b5c
doc improvements after review
2025-02-18 15:11:23 +01:00
github-actions[bot]
d68ad68e35
[automated] Update plugin list ( #13226 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2025-02-18 07:17:58 -03:00
Florian Bruhin
62aa427222
doc: Clarify capturing .readouterr() return value ( #13222 )
...
This got added in 38fb6aae78
, where the "The
return value ... changed" made a lot of sense. However,
9c5da9c0d1
removed the "versionadded" without
adjusting the wording.
Also see 3a4435fb59
.
2025-02-15 15:48:35 +01:00
Samuel Bronson
f0cc122edd
Update capture-warnings.rst: Fix PEP number in link ( #13215 )
...
This was linking to a completely unrelated PEP, presumably due to a typo.
Sorry there's no changelog, filing from my phone.
2025-02-13 07:13:18 -03:00
github-actions[bot]
4c3f286532
[automated] Update plugin list ( #13206 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2025-02-09 06:23:44 +00:00
jakkdl
c011e9b6f3
fix test, fix references in docstrings
2025-02-06 17:12:56 +01:00
John Litborn
e090517c21
Merge branch 'main' into raisesgroup
2025-02-06 15:40:12 +01:00
jakkdl
e1e1874cda
rename AbstractMatcher -> AbstractRaises, Matcher->RaisesExc. Add docs on RaisesGroup&RaisesExc. Add warnings to group_contains. Remove group_contains example from getting-started page
2025-02-06 15:39:25 +01:00
Florian Bruhin
1f1a10c0da
doc: Change training to remote only ( #13196 )
2025-02-05 16:11:40 +01:00
github-actions[bot]
5bb569f843
[automated] Update plugin list ( #13184 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2025-02-02 19:03:21 -03:00
Sadra Barikbin
c962c86845
Update pythonpath.rst ( #13181 )
...
Fix two tiny typos in `pythonpath.rst`
2025-01-31 13:05:39 +00:00
github-actions[bot]
9bcd7704ab
[automated] Update plugin list ( #13162 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2025-01-31 13:04:25 +01:00
pre-commit-ci[bot]
2f369848ea
[pre-commit.ci] pre-commit autoupdate ( #13167 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.2 → v0.9.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.2...v0.9.3 )
- [github.com/codespell-project/codespell: v2.3.0 → v2.4.0](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.0 )
2025-01-28 09:26:40 +01:00
Emil Hjelm
b89c1ce279
Add confval ``console_output_style`` option ``times`` ( #13126 )
...
Fixes #13125
---------
Co-authored-by: Bruno Oliveira <bruno@soliv.dev>
2025-01-20 12:27:21 -03:00
github-actions[bot]
195f7e1bd2
[automated] Update plugin list ( #13143 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2025-01-20 12:25:15 -03:00
github-actions[bot]
477e9283aa
[automated] Update plugin list ( #13128 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2025-01-12 08:58:31 -03:00
Florian Bruhin
05538acf90
Update links to microblogging pages ( #13123 )
...
* Update links to microblogging pages
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Apply suggestions from code review
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2025-01-11 16:45:01 +01:00
Pierre Sassoulas
475b9c708e
[pre-commit] Upgrade ruff to 0.9.0 / 2025's style
2025-01-11 08:12:44 +01:00
pytest bot
6f98c96cbf
[automated] Update plugin list
2025-01-05 00:26:35 +00:00
github-actions[bot]
9c02a3f6ed
[automated] Update plugin list ( #13088 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2024-12-29 06:33:15 +00:00
github-actions[bot]
24e84f08f4
[automated] Update plugin list ( #13080 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2024-12-22 08:34:13 +01:00
github-actions[bot]
dd9b603f48
[automated] Update plugin list ( #13060 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2024-12-15 02:51:34 +00:00
github-actions[bot]
eacc65654b
[automated] Update plugin list ( #13040 )
...
Co-authored-by: pytest bot <pytestbot@users.noreply.github.com>
2024-12-08 06:08:15 +00:00
Shaygan Hooshyari
ecde993e17
fixtures: replace fixture representation with a class ( #12473 )
...
During the sprint we discussed fixing the above issue and thought maybe it's a better idea to add a better representation to fixtures. To do this without patching the object more, this PR refactors fixtures to have a class with attributes.
The main rational behind that is:
- Now we have a type for fixtures makes it easier to check for fixture types and no need to perform cast on objects. Removed monkey patching.
- They are no longer functions that carry a class within them.
- When you decorate a function with a fixture it's not possible to call it anymore. So it makes more sense for it to not be a function or method.
Fixes #11525
---------
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Bruno Oliveira <bruno@soliv.dev>
Co-authored-by: Ran Benita <ran@unusedvar.com>
2024-12-07 08:51:26 -03:00
Zac Hatfield-Dodds
9d4f36d87d
Merge pull request #12810 from FreerGit/dont-auto-discover-feat
...
Add `discover_imports` in conf, don't collect imported classes named Test* closes #12749`
2024-12-01 13:13:41 -08:00
Bruno Oliveira
e2ec64e037
Improve docs
2024-12-01 09:24:40 -03:00
pytest bot
68b5938f05
[automated] Update plugin list
2024-12-01 00:30:58 +00:00
Pierre Sassoulas
a4cb74e864
Upgrade doc and CI after dropping python 3.8
2024-11-25 20:11:18 +01:00
Florian Bruhin
2157caf879
docs: Fix wrong statement about sys.modules with importlib import mode ( #12985 )
...
Follow-up to #7870 , see #12983 .
2024-11-25 09:29:01 -03:00