Skip to content

Commit 65f54bb

Browse files
committed
Skip hash library tests for Matplotlib >=3.4
1 parent 761f1e7 commit 65f54bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_pytest_mpl.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,9 @@ def test_formats(pytester, use_hash_library, passes, file_format):
685685
if file_format == 'svg' and MPL_VERSION < Version('3.3'):
686686
pytest.skip('SVG comparison is only supported in Matplotlib 3.3 and above')
687687

688+
if use_hash_library and MPL_VERSION >= Version('3.4'):
689+
pytest.skip('No hash library for Matplotlib >= 3.4')
690+
688691
if file_format != 'png' and file_format not in converter:
689692
if file_format == 'svg':
690693
pytest.skip('Comparing SVG files requires inkscape to be installed')

0 commit comments

Comments
 (0)