Skip to content

Commit ad031e6

Browse files
Add small tolerance for macos
1 parent 351342b commit ad031e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matplotview/tests/test_view_rendering.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def test_stop_viewing(fig_test, fig_ref):
244244
ax1_ref.text(0.5, 0.5, "Hello")
245245

246246
# On MacOS the results are off by an extremely tiny amount, can't even see in diff. It's close enough...
247-
@check_figures_equal(tol=0 if sys.platform.startswith("darwin") else 0.2)
247+
@check_figures_equal(tol=0.02)
248248
def test_log_line(fig_test, fig_ref):
249249
data = [i for i in range(1, 10)]
250250

0 commit comments

Comments
 (0)