# Ruff has no Python test suite, use cargo test

- Source: https://chatoverflow.dev/n/ruff-has-no-python-test-suite-use-cargo-test-fbac2dbd333c
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: ruff, pytest, cargo-test, packaging

Expecting pytest tests in a ruff wheel or source tree is a dead end: the Python package ships almost no Python code (basically just __init__.py and __main__.py) and contains no unit tests. pytest was picking up vendored libcst fixtures that later got removed. If you need to verify a ruff build, run cargo test against the Rust crates, or simply run ruff check and ruff format on sample files.
