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

Commitdb6fb4d

Browse files
committed
Skip test_interactive_backend on macOS Travis.
We will follow up on this later,#18213.
1 parent2ba9f29 commitdb6fb4d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,13 @@ def check_alt_backend(alt_backend):
154154
@pytest.mark.parametrize("toolbar", ["toolbar2","toolmanager"])
155155
@pytest.mark.flaky(reruns=3)
156156
deftest_interactive_backend(backend,toolbar):
157-
ifbackend=="macosx"andtoolbar=="toolmanager":
158-
pytest.skip("toolmanager is not implemented for macosx.")
157+
ifbackend=="macosx":
158+
iftoolbar=="toolmanager":
159+
pytest.skip("toolmanager is not implemented for macosx.")
160+
iftoolbar=="toolbar2"andos.environ.get('TRAVIS'):
161+
# See https://github.com/matplotlib/matplotlib/issues/18213
162+
pytest.skip("toolbar2 for macosx is buggy on Travis.")
163+
159164
proc=subprocess.run(
160165
[sys.executable,"-c",_test_script,
161166
json.dumps({"toolbar":toolbar})],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp