Skip to content

Commit

Permalink
Mark test as xfail on Linux (lack of window manager setup)
Browse files Browse the repository at this point in the history
  • Loading branch information
dalthviz committed Jan 6, 2025
1 parent 18e9b70 commit 6ac37b0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion qtconsole/tests/test_00_console_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ def qtconsole(qtbot):
console.window.close()


@pytest.mark.skipif(no_display, reason="Doesn't work without a display")
@pytest.mark.xfail(
sys.platform.startswith("linux"),
reason="Doesn't work without a window manager on Linux"
)
def test_history_complete(qtconsole, qtbot):
"""
Test history complete widget
Expand Down

0 comments on commit 6ac37b0

Please sign in to comment.