Skip to content

Commit 5035aba

Browse files
committed
tests(test_builder) Remove tmux 2.9 skip markers and cleanup imports
- Remove skip markers from test_layout_main_horizontal and test_issue_800_default_size_many_windows - Remove unused has_lt_version import These features are always available since tmux 3.2+ is now the minimum version.
1 parent 93ed730 commit 5035aba

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/workspace/test_builder.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import libtmux
1313
import pytest
1414
from libtmux._internal.query_list import ObjectDoesNotExist
15-
from libtmux.common import has_lt_version
1615
from libtmux.exc import LibTmuxException
1716
from libtmux.pane import Pane
1817
from libtmux.session import Session
@@ -1380,10 +1379,6 @@ def f(path: str, p: Pane) -> bool:
13801379
assert retry_until(f_)
13811380

13821381

1383-
@pytest.mark.skipif(
1384-
has_lt_version("2.9"),
1385-
reason="needs option introduced in tmux >= 2.9",
1386-
)
13871382
def test_layout_main_horizontal(session: Session) -> None:
13881383
"""Test that tmux's main-horizontal layout is used when specified."""
13891384
yaml_workspace = test_utils.get_workspace_file("workspace/builder/three_pane.yaml")
@@ -1461,7 +1456,6 @@ class DefaultSizeNamespaceFixture(t.NamedTuple):
14611456
DEFAULT_SIZE_FIXTURES,
14621457
ids=[f.test_id for f in DEFAULT_SIZE_FIXTURES],
14631458
)
1464-
@pytest.mark.skipif(has_lt_version("2.9"), reason="default-size only applies there")
14651459
def test_issue_800_default_size_many_windows(
14661460
server: Server,
14671461
monkeypatch: pytest.MonkeyPatch,

0 commit comments

Comments
 (0)