Skip to content

Commit a8f434a

Browse files
committed
Fix default tolerance
1 parent 8d5fcbc commit a8f434a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pytest_mpl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
WIN = sys.platform.startswith('win')
2424

2525
# In some cases, the fonts on Windows can be quite different
26-
DEFAULT_TOLERANCE = 10 if WIN else None
26+
DEFAULT_TOLERANCE = 10 if WIN else 2
2727

2828

2929
@pytest.mark.mpl_image_compare(baseline_dir=baseline_dir_local,

0 commit comments

Comments
 (0)