pytest
pytest copied to clipboard
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
updates: - [github.com/PyCQA/flake8: 4.0.1 → 5.0.4](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.4) - [github.com/asottile/pyupgrade: v2.37.2 → v2.37.3](https://github.com/asottile/pyupgrade/compare/v2.37.2...v2.37.3) - [github.com/asottile/setup-cfg-fmt: v1.20.2 → v2.0.0](https://github.com/asottile/setup-cfg-fmt/compare/v1.20.2...v2.0.0)
Originally reported by: **Florian Rathgeber (BitBucket: [frathgeber](http://bitbucket.org/frathgeber), GitHub: [frathgeber](http://github.com/frathgeber))** --- I often have a use case like the following contrived example: ``` python @pytest.fixture def a(): return 'a' @pytest.fixture def...
closes #10101 - [x] Include documentation when adding new features. - [x] Include new tests or update existing tests when applicable. - [x] Allow maintainers to push and squash when...
…@final` decorator
Bumps [django](https://github.com/django/django) from 4.0.6 to 4.1. Commits c8eb9a7 [4.1.x] Bumped version for 4.0 release. 6cd2f97 [4.1.x] Updated release notes for Django 4.1 release. c721b56 [4.1.x] Added CVE-2022-36359 to security archive....
Adds deprecation warnings for tests written in `nose`, namely around `setup` and `teardown` aspects; as we support limited functionality. I went with a `pytest 8.x` deprecation as I think that...
[automated] Update plugin list
It was never mentioned in the docs, and I keep forgetting that it's `.undo()` and not `.stopall()` or something... - [ ] Include documentation when adding new features. - [...
Comparing https://docs.pytest.org/en/4.6.x/ and https://docs.pytest.org/en/6.2.x/ I see that the latter almost exclusively uses _italic font style_. I haven't been able to check what caused such a change, though. So just documenting...
While reading the docs, I noticed that in one place (in the fixture), `monkeypatch.undo()` is not wrapped with try/finally, but the CM method in the class, it is. It seems...