Skip to content

Commit e2131bb

Browse files
committed
Just skip memleak test on windows entirely
1 parent 51b8989 commit e2131bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,8 @@ def _test_figure_leak():
562562

563563

564564
# TODO: "0.1" memory threshold could be reduced 10x by fixing tkagg
565+
@pytest.mark.skipif(sys.platform == "win32",
566+
reason="appveyor tests fail; gh-22988 suggests reworking")
565567
@pytest.mark.parametrize("env", _get_testable_interactive_backends())
566568
@pytest.mark.parametrize("time_mem", [(0.0, 2_000_000), (0.1, 30_000_000)])
567569
def test_figure_leak_20490(env, time_mem):
@@ -572,8 +574,6 @@ def test_figure_leak_20490(env, time_mem):
572574
pause_time, acceptable_memory_leakage = time_mem
573575
if env["MPLBACKEND"] == "wx":
574576
pytest.skip("wx backend is deprecated; tests failed on appveyor")
575-
if env["MPLBACKEND"] == "wxagg" and sys.platform == "win32":
576-
pytest.skip("tests failed on appveyor")
577577

578578
if env["MPLBACKEND"] == "macosx" or (
579579
env["MPLBACKEND"] == "tkagg" and sys.platform == 'darwin'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy