Skip to content

Installation

To install pytest-compare from PyPi, run the commmand:

pip install pytest-compare

Optional dependencies

Depending on the data structures you plan to compare, you may need to install additional packages.

Pandas

If you need to compare pandasdata structures, you can include the pandas option in your installation command:

pip install pytest-compare[pandas]

This will install the necessary dependencies for comparing pandas data structures with pytest-compare.