pytest
pytest copied to clipboard
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
[automated] Update plugin list
Fixes #11933 Credit to @Zac-HD for fix!
#### What's the problem this feature will solve? We are trying to exclude `pytest-crate` from the [Pytest Plugin List](https://docs.pytest.org/en/latest/reference/plugin_list.html) page. The new designated canonical package `pytest-cratedb` has already been included...
workaround for #11933, but also an improved functionality in its own right. The user may set the keyword argument `keep_ignores` for `pytest.warns` to avoid catching warnings which were filtered out,...
**Test environment** We use _pytest v8.0.2_ with _Python 3.9.13_ environment on _Ubuntu 18.04_ Docker image. Here is a part of metadata from pytest output: `platform linux -- Python 3.9.13, pytest-8.0.2,...
- [x] a detailed description of the bug or problem you are having - [x] output of `pip list` from the virtual environment you are using - [x] pytest and...
closes #12749 - Allows a user to define whether or not pytest should treat imported (but not in testpaths) as test classes. - Imagine a class is called TestFoo defined...
With Python 3.13.0 installed with `uv` (i.e. from [python-build-standalone](https://github.com/indygreg/python-build-standalone)), the pdb prompt is completely nonresponsive when triggered either by the `--pdb` flag or by a breakpoint. This can be reproduced...
Motivated by #12880, which proposes adding even more content to the "getting started with pytest" page, intended for teaching the very basics of pytest's functionality: Personally I think exception groups...