macOS
brew install pytestlocal Homebrew formula metadata
brew / rank 1377
Simple powerful testing with Python. Version 9.1.1 via Homebrew; verified 2026-06-20. Also installable with debian: sudo apt install python-pytest-doc.
install
brew install pytestlocal Homebrew formula metadata
sudo apt install python-pytest-docDebian stable package indexes · python-pytest-doc · source: deb.debian.org
sudo dnf install python3-pytestFedora Rawhide package metadata · python3-pytest · source: dl.fedoraproject.org
overview
Simple powerful testing with Python
history
pytest is a mature Python testing framework and command-line test runner known for plain assertions, fixtures, automatic discovery, detailed failure output, and a large plugin ecosystem.
pytest traces its roots to testing experiments around PyPy and Holger Krekel’s complementary-standard-library work in 2004. The std.utest component became py.test when the std project was renamed py around September or October 2004.
The 2009 py 1.0 release introduced foundational funcargs/fixtures and a plugin architecture. In November 2010, pytest 2.0 became a package separate from py, although the command was still named py.test. Pytest 3.0 in August 2016 established pytest as the recommended command-line entry point.
pytest grew from the PyPy and py-library communities into a general-purpose Python test framework. Its fixture and plugin architecture enabled an extensive surrounding ecosystem, while compatibility with unittest-style tests eased adoption in existing Python projects. Distribution through PyPI and operating-system package managers made it common in development environments and CI systems.
Developers write test functions using ordinary Python assertions, request reusable fixtures through function arguments, and run discovery with the pytest command. Plugins extend collection, reporting, coverage, parallelization, frameworks, and other behavior. Pytest can also execute unittest-based test suites.
pytest is a package-ecosystem landmark: it popularized plain assert statements with rich failure introspection, composable fixtures, automatic test discovery, and a broad plugin model. Its long migration from the py library to an independent pytest package also explains legacy names such as py.test and historical dependencies encountered in older environments.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
pytest.toml.pytest.tomlpytest.ini.pytest.inipyproject.tomltox.inisetup.cfgexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
py.test | cli | global executable | |
pytest | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://docs.pytest.org/en/latest/
install metadata
| Package key | brew:pytest |
|---|---|
| Version | 9.1.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/pytest |
| Homepage | https://docs.pytest.org/en/latest/ |
| Upstream docs | https://docs.pytest.org/en/latest/ |
| License | MIT |
| Source archive | https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz |
| Last updated | 2026-06-20T12:34:40Z |
| Pulse | updated |
| Dependencies | python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pytest |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
python-pytest-doc 8.3.5-2
Simple, powerful testing in Python - Documentation
sudo apt install python-pytest-docpython3-pytest 8.3.5-2
Simple, powerful testing in Python3
sudo apt install python3-pytestpython-pytest-doc 7.4.4-1
Simple, powerful testing in Python - Documentation
sudo apt install python-pytest-docpython3-pytest 7.4.4-1
Simple, powerful testing in Python3
sudo apt install python3-pytestpython3-pytest 9.1.1-1.fc45
Simple powerful testing with Python
sudo dnf install python3-pytestsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.