From 4004d1fc87f448c2411d63da62a8fc0e8df06f1d Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Thu, 5 May 2022 20:25:56 -0400 Subject: [PATCH] CI: bump test limit from tkagg on osx Extension of #22959. --- 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 86ada2730bb6..bd56c3c58a38 100644 --- a/lib/matplotlib/tests/test_backends_interactive.py +++ b/lib/matplotlib/tests/test_backends_interactive.py @@ -548,7 +548,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(