From 95f987ef8ddf01ceba7bfc061a8804c8195e0b5c Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Fri, 6 May 2022 09:03:21 +0200 Subject: [PATCH] Backport PR #22987: CI: bump test limit from tkagg on osx --- lib/matplotlib/tests/test_backends_interactive.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/matplotlib/tests/test_backends_interactive.py b/lib/matplotlib/tests/test_backends_interactive.py index 64a0d1ba1e93..b091d71f5101 100644 --- a/lib/matplotlib/tests/test_backends_interactive.py +++ b/lib/matplotlib/tests/test_backends_interactive.py @@ -458,7 +458,9 @@ def test_figure_leak_20490(env, time_mem): # We haven't yet directly identified the leaks so test with a memory growth # threshold. pause_time, acceptable_memory_leakage = time_mem - if env["MPLBACKEND"] == "macosx": + if env["MPLBACKEND"] == "macosx" or ( + env["MPLBACKEND"] == "tkagg" and sys.platform == 'darwin' + ): acceptable_memory_leakage += 11_000_000 result = _run_helper(