Skip to main content

pytest-fahhh

CI PyPI version License: MIT

pytest-fahhh is a tiny pytest plugin that plays a bundled fahhh.mp3 whenever a test fails.

Install it, keep running pytest like normal, and every failed test call gets the meme sound effect.

Install

If your project uses uv:

uv add --dev pytest-fahhh

If your project uses pip:

pip install pytest-fahhh

Pytest auto-discovers the plugin through the pytest11 entry point, so there is no extra setup after install. The important part is that pytest-fahhh must be installed in the same environment where you run pytest.

Usage

Run pytest as usual:

pytest

When a test fails during its call phase, pytest-fahhh launches the bundled audio clip in the background.

Disable It

Disable it for one run:

pytest --no-fahhh

Disable it through the environment:

PYTEST_FAHHH_DISABLE=1 pytest

Disable it in pytest.ini:

[pytest]
fahhh = false

Platform Notes

  • macOS: uses afplay
  • Linux: tries paplay, aplay, ffplay, then mpg123
  • Other platforms: installs fine, but the plugin currently warns and does nothing because no player command is configured yet

Local Development

uv sync
make lint
make test

Run the intentional sound demo:

make demo-sound

Release files for pytest-fahhh 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-fahhh 0.1.1
File Size Uploaded
pytest_fahhh-0.1.1.tar.gz 25.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-fahhh 0.1.1
File Interpreter ABI Platform
pytest_fahhh-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 49.4 kB

Release files / pytest_fahhh-0.1.1.tar.gz

Download URL pytest_fahhh-0.1.1.tar.gz
Size 25.1 kB
Tags Source
SHA-256 checksum
How to use checksums
924dea1fff93717e7ddd64989292174b9ffa03598cb83f869153ea7018a229b9
BLAKE2b-256 checksum
How to use checksums
7e389879727be8a4b9b2017913a65799cd787a5808318a8079ec5978eb047262
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.

Transparency log

Release files / pytest_fahhh-0.1.1-py3-none-any.whl

Download URL pytest_fahhh-0.1.1-py3-none-any.whl
Size 24.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a04836005143ad8d003bac0aee847a776e187686cf02605ca663a396eaa7780
BLAKE2b-256 checksum
How to use checksums
df7e4f9ab0baa945045da4a734c117a0cd8bd5b93ce034934c885d5489fd5450
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page