From d3ad3c73eb1c2271defcd03067d30b774088461d Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Sun, 7 May 2023 14:26:02 +0200 Subject: [PATCH] Conditionally skip test on MacOS. --- tests/test_live.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_live.py b/tests/test_live.py index ff768d10..851a11a4 100644 --- a/tests/test_live.py +++ b/tests/test_live.py @@ -1,6 +1,7 @@ from __future__ import annotations import re +import sys import textwrap import pytest @@ -187,6 +188,7 @@ def test_live_execution_displays_subset_of_table(capsys, tmp_path, n_entries_in_ @pytest.mark.unit() +@pytest.mark.xfail(sys.platform == "darwin", reason="See #377.") def test_live_execution_skips_do_not_crowd_out_displayed_tasks(capsys, tmp_path): path = tmp_path.joinpath("task_module.py") task = Task(base_name="task_example", path=path, function=lambda x: x)