pytest: helps you write better programs — pytest documentation python -m pytest -m pytest last-failed: -lf -capture=no https://docs.pytest.org/en/latest/reference.html#std-fixture-capsys