We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fff1d66 commit da6c00bCopy full SHA for da6c00b
lib/matplotlib/tests/test_png.py
@@ -12,8 +12,11 @@
12
from matplotlib import pyplot as plt
13
import matplotlib.cm as cm
14
15
+import sys
16
+on_win = (sys.platform == 'win32')
17
-@image_comparison(baseline_images=['pngsuite'], extensions=['png'])
18
+@image_comparison(baseline_images=['pngsuite'], extensions=['png'],
19
+ tol=0.01 if on_win else 0)
20
def test_pngsuite():
21
dirname = os.path.join(
22
os.path.dirname(__file__),
0 commit comments