Install
pytest
pytest: simple powerful testing with Python
9.2.0Latest, 27 Oct 2026
1BDownloads, last month
0Advisories on the latest
2Advisories, all versions
MITLicence
15KStars
7.0/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| pytest has vulnerable tmpdir handling CVE-2025-71176 | Fixed in 9.0.3 | 7 Jul 2026 | |
| Moderate | pytest has vulnerable tmpdir handling CVE-2025-71176 | Fixed in 9.0.3 | 22 Jan 2026 |
In the news
- Even pytest --help Runs conftest.py. PolinRider Malware Counts on It dev.to, 3 Dec 2026
- Setting Up a New Mac for Python in 2026: uv, ty, pytest and 7 More Tools I'd Install First dev.to, 2 Dec 2026
- Test signup emails end to end with pytest dev.to, 2 Dec 2026
- requests, black and pytest All Target a Dead Python Version dev.to, 30 Nov 2026
- Notebook'tan Kurulabilir Python Paketine: pyproject.toml (src/), pytest Test Paketi ve GitHub Actions CI/CD Hattı dev.to, 29 Nov 2026
On Hacker News
- Running C unit tests with Pytest 132 points, 41 comments, 11 Feb 2022
- Pytest 3.2.0 released 124 points, 35 comments, 9 Aug 2017
- Pytest Tips and Tricks 116 points, 48 comments, 22 Mar 2023
- Getting started with property-based testing in Python with hypothesis and Pytest 95 points, 29 comments, 20 Jan 2023
Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.