File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 55
66from __future__ import annotations
77
8+ import sys
89from functools import partial
910
1011import pytest
@@ -318,6 +319,10 @@ def test_controlx_controlx():
318319 assert result .text == "hello worldX"
319320
320321
322+ @pytest .mark .skipif (
323+ sys .platform .startswith ("win" ),
324+ reason = "emacs history bindings don't work on Windows" ,
325+ )
321326def test_emacs_history_bindings ():
322327 # Adding a new item to the history.
323328 history = _history ()
@@ -348,6 +353,10 @@ def test_emacs_history_bindings():
348353 assert result .text == "line2 second input"
349354
350355
356+ @pytest .mark .skipif (
357+ sys .platform .startswith ("win" ),
358+ reason = "emacs history bindings don't work on Windows" ,
359+ )
351360def test_emacs_reverse_search ():
352361 history = _history ()
353362
You can’t perform that action at this time.
0 commit comments