Skip to content

Commit dd68571

Browse files
committed
Fixed Windows test.
1 parent e4f4d2b commit dd68571

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_cmd2.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,10 @@ def test_ctrl_d_at_prompt(say_app, monkeypatch) -> None:
12031203
assert out == 'hello\n\n'
12041204

12051205

1206+
@pytest.mark.skipif(
1207+
sys.platform.startswith('win'),
1208+
reason="Don't have a real Windows console with how we are currently running tests in GitHub Actions",
1209+
)
12061210
@pytest.mark.parametrize(
12071211
('msg', 'prompt', 'is_stale'),
12081212
[

0 commit comments

Comments
 (0)