No project description provided
Project description
pytest-image-diff
Installation
pip install pytest-image-diff
or from git
pip install -e git+https://githib.com/Apkawa/pytest-image-diff.git@master#egg=pytest-image-diff
Python>=3.5
Usage
from PIL import Image
def test_compare(image_diff):
image: Image or str or bytes = Image.new()
image2: Image or str or bytes = '/path/to/image.jpeg'
image_diff(image, image2)
def test_regression(image_regression):
image: Image or str or bytes = Image.new()
image_regression(image)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pytest_image_diff-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba2e02c98984388211e873529859909092bc9a2a950b15bc61f4fcec02b654d6 |
|
MD5 | eba12df1961485ada89515d1f33d6973 |
|
BLAKE2b-256 | 31916173d6ef2fe1e6a849effa7bb263e98b4d5852705531f37580999fc5477a |