Skip to content

Commit d5d54be

Browse files
committed
Fix typo in formats
1 parent 30d1135 commit d5d54be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_pytest_mpl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ def test_raises():
672672
result.stdout.fnmatch_lines("FAILED*ValueError*User code*")
673673

674674

675-
@pytest.mark.parametrize("file_format", ['eps', 'pdf', 'png', 'eps'])
675+
@pytest.mark.parametrize("file_format", ['eps', 'pdf', 'png', 'svg'])
676676
def test_formats(pytester, file_format):
677677
"""
678678
Note that we don't test all possible formats as some do not compress well
@@ -696,7 +696,7 @@ def test_format_{file_format}():
696696
result.assert_outcomes(passed=1)
697697

698698

699-
@pytest.mark.parametrize("file_format", ['eps', 'pdf', 'png', 'eps'])
699+
@pytest.mark.parametrize("file_format", ['eps', 'pdf', 'png', 'svg'])
700700
def test_formats_check_fail(pytester, file_format):
701701
"""
702702
As for test_formats but make sure the tests fail if there are differences

0 commit comments

Comments
 (0)