Skip to content

Commit aaebba7

Browse files
committed
tests(hooks): remove < 3.0 module skip
why: tmux < 3.2 is now deprecated. The module-level skip for tmux < 3.0 is no longer needed since all supported versions have hook array support. what: - Remove module-level pytest.skip for has_lt_version("3.0") - Remove unused has_lt_version import
1 parent ca4dbf6 commit aaebba7

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/test_hooks.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,11 @@
88

99
from libtmux._internal.constants import Hooks
1010
from libtmux._internal.sparse_array import SparseArray
11-
from libtmux.common import has_gte_version, has_lt_version
11+
from libtmux.common import has_gte_version
1212

1313
if t.TYPE_CHECKING:
1414
from libtmux.server import Server
1515

16-
if has_lt_version("3.0"):
17-
pytest.skip(
18-
reason="only support hooks in tmux 3.0 and above",
19-
allow_module_level=True,
20-
)
21-
2216

2317
def test_hooks_raw_cmd(
2418
server: Server,

0 commit comments

Comments
 (0)