File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1212import libtmux
1313import pytest
1414from libtmux ._internal .query_list import ObjectDoesNotExist
15- from libtmux .common import has_gte_version , has_lt_version
15+ from libtmux .common import has_lt_version
1616from libtmux .exc import LibTmuxException
1717from libtmux .pane import Pane
1818from libtmux .session import Session
@@ -296,8 +296,7 @@ def test_window_options(
296296 )
297297 workspace = loader .expand (workspace )
298298
299- if has_gte_version ("2.3" ):
300- workspace ["windows" ][0 ]["options" ]["pane-border-format" ] = " #P "
299+ workspace ["windows" ][0 ]["options" ]["pane-border-format" ] = " #P "
301300
302301 builder = WorkspaceBuilder (session_config = workspace , server = session .server )
303302
@@ -310,8 +309,7 @@ def test_window_options(
310309 assert len (session .windows ) == window_count
311310 assert isinstance (w , Window )
312311 assert w .show_window_option ("main-pane-height" ) == 5
313- if has_gte_version ("2.3" ):
314- assert w .show_window_option ("pane-border-format" ) == " #P "
312+ assert w .show_window_option ("pane-border-format" ) == " #P "
315313
316314 assert len (session .windows ) == window_count
317315 window_count += 1
You can’t perform that action at this time.
0 commit comments