Skip to content

Commit 2e0f6dc

Browse files
nvasilastony
authored andcommitted
Skip test that requires higher tmux version
1 parent 2099745 commit 2e0f6dc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_workspacebuilder.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
import libtmux
1212
from libtmux import Window
13-
from libtmux.common import has_gte_version
13+
from libtmux.common import has_lt_version
1414
from libtmux.test import retry_until, temp_session
1515
from tmuxp import config, exc
1616
from tmuxp.cli.load import load_plugins
@@ -1185,6 +1185,9 @@ def f():
11851185
assert retry_until(f)
11861186

11871187

1188+
@pytest.mark.skipif(
1189+
has_lt_version("2.9"), reason="needs option introduced in tmux >= 2.9"
1190+
)
11881191
def test_layout_main_horizontal(session):
11891192
yaml_config = test_utils.read_config_file("workspacebuilder/three_pane.yaml")
11901193

0 commit comments

Comments
 (0)