Skip to content

Commit 7d151e8

Browse files
authored
Merge pull request matplotlib#22998 from meeseeksmachine/auto-backport-of-pr-22987-on-v3.5.x
Backport PR matplotlib#22987 on branch v3.5.x (CI: bump test limit from tkagg on osx)
2 parents 18cb697 + 95f987e commit 7d151e8

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
@@ -468,7 +468,9 @@ def test_figure_leak_20490(env, time_mem):
468468
# We haven't yet directly identified the leaks so test with a memory growth
469469
# threshold.
470470
pause_time, acceptable_memory_leakage = time_mem
471-
if env["MPLBACKEND"] == "macosx":
471+
if env["MPLBACKEND"] == "macosx" or (
472+
env["MPLBACKEND"] == "tkagg" and sys.platform == 'darwin'
473+
):
472474
acceptable_memory_leakage += 11_000_000
473475

474476
result = _run_helper(

0 commit comments

Comments
 (0)