Skip to content

Commit

Permalink
Version 3.21rc0
Browse files Browse the repository at this point in the history
  • Loading branch information
mborsetti committed Apr 14, 2024
1 parent de2eb1e commit b46bfb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/differs.rst
Expand Up @@ -367,8 +367,9 @@ Optional directives
```````````````````
This differ is currently in BETA and the directives may change in the future.

* ``data_type`` (``url``, ``filename``, or ``bytes``): What the data represent: a link to the image, the path to the
file containing the image or the image itself as bytes (default: ``url``).
* ``data_type`` (``url``, ``filename``, or ``base_64``): What the data represent: a link to the image, the path to the
file containing the image or the image itself as `Base_64 <https://en.wikipedia.org/wiki/Base64>`__ (default:
``url``).
* ``mse_threshold`` (float): The minimum mean squared error (MSE) between two images to consider them changed;
requires the package ``numppy`` to be installed (default: 2.5).

Expand Down
1 change: 1 addition & 0 deletions tests/test_differs.py
Expand Up @@ -656,6 +656,7 @@ def test_image_url(job_state: JobState) -> None:
assert diff[: len(expected)] == expected


@py_latest_only
def test_image_filenames(job_state: JobState) -> None:
"""Test image differ with filenames."""
# if not os.getenv('GITHUB_ACTIONS'):
Expand Down

0 comments on commit b46bfb2

Please sign in to comment.