Pytest-mpl

Latest version: v0.17.0

Safety actively analyzes 629765 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.13

- Ensure all test files are included in the sdist. [109]
-
- Print hash for new figure tests. [111]
-
- Do not error if a baseline image can not be retrieved when using figure hashes. [118]
-
- Allow generation of hash library and testing against hash library simultaneously. [121]
-

0.12.1

- Fix specification of required Python version in setup.cfg. [122]

0.12

- Fix passing a https url for baseline images from the CLI. [89]
-
- Added `--mpl-baseline-relative` option to specify baseline images relative to the test path. [96]
-
- Add option to do comparisons against a json library of sha256 hashes. [98]
-
- Drop support for matplotlib 1.5 and Python < 3.6. [100]
-
- Add support for generating a HTML summary of test faliures. [101]
-
- Add support for falling back to baseline image comparison if hash comparison fails. [101]
-

0.11

- Improve error message if image shapes don't match. [79]
-
- Properly register mpl_image_compare marker with pytest. [83]
-
- Drop support for Python 3.5 and earlier, and Matplotlib 1.5. [87]
-

0.10

- Improve error message when baseline image is not found. [76]
-
- Update compatibility with pytest 3.6. [72]
-
- Only close figures if they are a valid Matplotlib figure. [66]
-
- Improve tests to not assume pytest executable is called py.test. [65]
-
- Make sure local matplotlib files are completely ignored. [64]
-

0.9

- Fix compatibility with Matplotlib 2.1. [54]
-
- Allow baseline_dir to be comma-separated URL list to allow mirrors to
- be specified. [59]
-
- Make sure figures get closed even if not running with the --mpl
- option, and only close actual Matplotlib Figure objects. [60]
-

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.