Skip to content

Commit 95f987e

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR matplotlib#22987: CI: bump test limit from tkagg on osx
1 parent a4ba321 commit 95f987e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,9 @@ def test_figure_leak_20490(env, time_mem):
458458
# We haven't yet directly identified the leaks so test with a memory growth
459459
# threshold.
460460
pause_time, acceptable_memory_leakage = time_mem
461-
if env["MPLBACKEND"] == "macosx":
461+
if env["MPLBACKEND"] == "macosx" or (
462+
env["MPLBACKEND"] == "tkagg" and sys.platform == 'darwin'
463+
):
462464
acceptable_memory_leakage += 11_000_000
463465

464466
result = _run_helper(

0 commit comments

Comments
 (0)