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

Appearance settings

Commit 02263d2

Browse filesBrowse files
committed
TST: Mark test_other_signal_before_sigint mac as xfail
1 parent 8530b1f commit 02263d2
Copy full SHA for 02263d2

File tree

1 file changed

+3
-3
lines changed
Filter options

1 file changed

+3
-3
lines changed

‎lib/matplotlib/tests/test_backends_interactive.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_backends_interactive.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -816,12 +816,12 @@ def custom_signal_handler(signum, frame):
816816
('show', {'block': True}),
817817
('pause', {'interval': 10})
818818
])
819-
def test_other_signal_before_sigint(env, target, kwargs):
819+
def test_other_signal_before_sigint(env, target, kwargs, request):
820820
backend = env.get("MPLBACKEND")
821821
if not backend.startswith(("qt", "macosx")):
822822
pytest.skip("SIGINT currently only tested on qt and macosx")
823-
if backend == "macosx" and target == "show":
824-
pytest.xfail("test currently failing for macosx + show()")
823+
if backend == "macosx":
824+
request.node.add_marker(pytest.mark.xfail(reason="macosx backend is buggy"))
825825
proc = _WaitForStringPopen(
826826
[sys.executable, "-c",
827827
inspect.getsource(_test_other_signal_before_sigint_impl) +

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.