{"id":21816,"library":"pytest-tldr","title":"pytest-tldr","description":"A pytest plugin that limits output to just the things you need, stripping verbose tracebacks and summarizing failures. Current version 0.2.6, infrequent updates.","status":"active","version":"0.2.6","language":"python","source_language":"en","source_url":"https://github.com/freakboy3742/pytest-tldr","tags":["pytest-plugin","testing","tldr","output-filter"],"install":[{"cmd":"pip install pytest-tldr","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"Plugin auto-activates; no explicit import needed.","wrong":"","symbol":"pytest","correct":"import pytest"}],"quickstart":{"code":"# Write a test file (e.g., test_example.py)\ndef test_pass():\n    assert 1 + 1 == 2\n\ndef test_fail():\n    assert 1 + 1 == 3\n\n# Run: pytest --tldr test_example.py","lang":"python","description":"Create tests and run with --tldr flag to suppress verbose output."},"warnings":[{"fix":"Upgrade Python to 3.10 or later.","message":"pytest-tldr is only compatible with Python >=3.10. If you use an older Python, installation fails or plugin doesn't load.","severity":"gotcha","affected_versions":">=0.2.6"},{"fix":"Ensure pytest version meets requirement: pip install 'pytest>=7.2'","message":"The plugin requires pytest >=6 (for v0.2.4+) or >=7.2 (for v0.2.5+). Using an older pytest version may cause compatibility errors.","severity":"gotcha","affected_versions":">=0.2.4"},{"fix":"Update to latest version and use --tldr=<mode> if needed.","message":"Older versions (before 0.2.4) used '--tldr' as a boolean flag; later versions support it as a value flag (e.g., --tldr=short). Check docs if using older style.","severity":"deprecated","affected_versions":"<0.2.4"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run: pip install pytest-tldr","cause":"Plugin not installed or not in the same Python environment.","error":"ModuleNotFoundError: No module named 'pytest_tldr'"},{"fix":"Install plugin: pip install pytest-tldr. Ensure pytest >=6.","cause":"Plugin not registered or pytest version too old (<6).","error":"pytest: error: unrecognized arguments: --tldr"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}