Skip to content

Commit 2c52d49

Browse files
committed
Fixed tests on Windows.
1 parent 8305563 commit 2c52d49

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/test_cmd2.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,6 +1311,10 @@ def test_async_alert(base_app: cmd2.Cmd, msg: str, prompt: str, is_stale: bool)
13111311
assert base_app.prompt == prompt
13121312

13131313

1314+
@pytest.mark.skipif(
1315+
sys.platform.startswith("win"),
1316+
reason="Don't have a real Windows console with how we are currently running tests in GitHub Actions",
1317+
)
13141318
def test_async_alert_rich(base_app: cmd2.Cmd) -> None:
13151319
from prompt_toolkit.formatted_text import ANSI
13161320
from rich.table import Table

0 commit comments

Comments
 (0)