Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite2131bb

Browse files
committed
Just skip memleak test on windows entirely
1 parent51b8989 commite2131bb

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
deftest_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
ifenv["MPLBACKEND"]=="wx":
574576
pytest.skip("wx backend is deprecated; tests failed on appveyor")
575-
ifenv["MPLBACKEND"]=="wxagg"andsys.platform=="win32":
576-
pytest.skip("tests failed on appveyor")
577577

578578
ifenv["MPLBACKEND"]=="macosx"or (
579579
env["MPLBACKEND"]=="tkagg"andsys.platform=='darwin'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp