🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

pytest-beeprint

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pytest-beeprint

use icdiff for better error messages in pytest assertions

0.1.2
PyPI
Maintainers
1

=============== pytest-beeprint

.. image:: https://img.shields.io/pypi/pyversions/pytest-beeprint.svg :target: https://pypi.org/project/pytest-beeprint :alt: Python versions

Better diffs in pytest_ assertion error messages using beeprint_ and ICDiff_.

Usage

pip install pytest-beeprint

Once you've installed it, pytest will produce nice colourised diffs for any assert == :

.. image:: example_output.png?raw=true :alt: example colourised diff

Issues and PRs welcome.

Thanks to the maintainers of pytest-icdiff, ICDiff and also beeprint_ !

License

Distributed under the terms of the Unlicense_ license, "pytest-beeprint" is free and open source software

This pytest_ plugin was generated with Cookiecutter_ along with @hackebrot's cookiecutter-pytest-plugin template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _@hackebrot: https://github.com/hackebrot .. _cookiecutter-pytest-plugin: https://github.com/pytest-dev/cookiecutter-pytest-plugin .. _pytest: https://github.com/pytest-dev/pytest .. _Unlicense: http://unlicense.orgf .. _pytest-icdiff: https://github.com/hjwp/pytest-icdiff .. _icdiff: https://www.jefftk.com/icdiff .. _beeprint: https://github.com/panyanyany/beeprint

History

0.1.2 (2023-07-04)


- Fix how to set cols size for tests


0.1.1 (2023-06-08)
  • Fix README

0.1.0 (2023-06-09)


* Forked from: https://github.com/hjwp/pytest-icdiff
* Changed to use beeprint instead
* Fix Tests

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts