==> Building on minun ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 934 100% 0.00kB/s 0:00:00 934 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=7/9) .nvchecker.toml 50 100% 48.83kB/s 0:00:00 50 100% 48.83kB/s 0:00:00 (xfr#2, to-chk=6/9) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=5/9) PKGBUILD 1,782 100% 1.70MB/s 0:00:00 1,782 100% 1.70MB/s 0:00:00 (xfr#4, to-chk=4/9) REUSE.toml 375 100% 366.21kB/s 0:00:00 375 100% 366.21kB/s 0:00:00 (xfr#5, to-chk=3/9) python-libtmux-0.53.0-2.log 692 100% 675.78kB/s 0:00:00 692 100% 675.78kB/s 0:00:00 (xfr#6, to-chk=2/9) LICENSES/ sent 1,965 bytes received 192 bytes 4,314.00 bytes/sec total size is 3,989 speedup is 1.85 ==> Running pkgctl build --arch riscv64 on remote host... ==> WARNING: invalid architecture: riscv64 ==> Updating pacman database cache [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==> Building python-libtmux  -> repo: extra  -> arch: riscv64  -> worker: felix-0 ==> Building python-libtmux for [extra] (riscv64) ]3008;start=61259a3a626b4ffe8ead27fef188d3eb;user=root;hostname=minun.felixc.at;machineid=0ffe3ef7ad56462790c2861f2a747f6b;bootid=32d9c4b537a24816afcaf7574fd06933;pid=178462;pidfdid=21145722;comm=systemd-nspawn;container=arch-nspawn-178462;type=container\]11;?\]2;🔵 Container arch-nspawn-178462 on minun.felixc.at\:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [!p]104[?7h]3008;end=61259a3a626b4ffe8ead27fef188d3eb\==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-0]...done ==> Making package: python-libtmux 0.53.0-2 (Mon Jan 26 21:53:28 2026) ==> Retrieving sources...  -> Found libtmux-0.53.0.tar.gz ==> Validating source files with sha512sums... libtmux-0.53.0.tar.gz ... Passed ==> Validating source files with b2sums... libtmux-0.53.0.tar.gz ... Passed ]3008;start=e487596813444f5d9d31a4b7f58590fd;user=root;hostname=minun.felixc.at;machineid=0ffe3ef7ad56462790c2861f2a747f6b;bootid=32d9c4b537a24816afcaf7574fd06933;pid=179490;pidfdid=21146750;comm=systemd-nspawn;container=arch-nspawn-179490;type=container\]11;?\]2;🔵 Container arch-nspawn-179490 on minun.felixc.at\==> Making package: python-libtmux 0.53.0-2 (Mon Jan 26 20:53:40 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (5) New Version Net Change extra/libutempter 1.2.3-1 0.02 MiB core/mpdecimal 4.0.1-1 0.31 MiB core/python 3.14.2-2 132.78 MiB extra/python-typing_extensions 4.15.0-3 0.52 MiB extra/tmux 3.6_a-1 1.09 MiB Total Installed Size: 134.72 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter installing python-typing_extensions... installing libutempter... installing tmux... :: Running post-transaction hooks... (1/2) Creating temporary files... (2/2) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (16) New Version Net Change Download Size extra/python-editables 0.5-7.1 0.03 MiB extra/python-iniconfig 2.1.0-3.1 0.05 MiB extra/python-packaging 26.0-1 0.89 MiB extra/python-pathspec 0.12.1-4 0.26 MiB extra/python-pluggy 1.6.0-3.1 0.23 MiB extra/python-pygments 2.19.2-3 15.30 MiB extra/python-pyproject-hooks 1.2.0-6 0.11 MiB extra/python-trove-classifiers 2026.1.14.14-1.1 0.16 MiB core/procps-ng 4.0.5-3 2.38 MiB extra/python-build 1.4.0-1 0.24 MiB extra/python-hatchling 1.28.0-3 1.06 MiB extra/python-installer 0.7.0-14 0.20 MiB extra/python-pytest 1:8.4.2-3 4.69 MiB extra/python-pytest-mock 3.14.0-5 0.11 MiB 0.02 MiB extra/python-pytest-rerunfailures 16.1-2 0.12 MiB 0.03 MiB extra/python-wheel 0.45.1-4 0.30 MiB Total Download Size: 0.05 MiB Total Installed Size: 26.12 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-pytest-rerunfailures-16.1-2-any downloading... python-pytest-mock-3.14.0-5-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-editables... installing python-pathspec... installing python-pluggy... installing python-trove-classifiers... installing python-hatchling... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures python-setuptools: for legacy bdist_wheel subcommand installing python-iniconfig... installing python-pygments... installing python-pytest... installing python-pytest-mock... installing python-pytest-rerunfailures... Optional dependencies for python-pytest-rerunfailures python-pytest-xdist: for recovering from crashes installing procps-ng... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Found libtmux-0.53.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting libtmux-0.53.0.tar.gz with bsdtar ==> Starting build()... * Building wheel... Successfully built libtmux-0.53.0-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-8.4.2, pluggy-1.6.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-libtmux/src/libtmux-0.53.0 configfile: pyproject.toml plugins: libtmux-0.53.0, mock-3.14.0, rerunfailures-16.1 collecting ... collected 610 items / 2 deselected / 608 selected tests/_internal/test_query_list.py::test_filter[items0-None-expected_result0] PASSED [ 0%] tests/_internal/test_query_list.py::test_filter[items1-filter_expr1-expected_result1] PASSED [ 0%] tests/_internal/test_query_list.py::test_filter[items2-filter_expr2-expected_result2] PASSED [ 0%] tests/_internal/test_query_list.py::test_filter[items3-filter_expr3-expected_result3] PASSED [ 0%] tests/_internal/test_query_list.py::test_filter[items4-None-expected_result4] PASSED [ 0%] tests/_internal/test_query_list.py::test_filter[items5-None-expected_result5] PASSED [ 0%] tests/_internal/test_query_list.py::test_filter[items6-None-expected_result6] PASSED [ 1%] tests/_internal/test_query_list.py::test_filter[items7-None-expected_result7] PASSED [ 1%] tests/_internal/test_query_list.py::test_filter[items8-filter_expr8-expected_result8] PASSED [ 1%] tests/_internal/test_query_list.py::test_filter[items9-filter_expr9-expected_result9] PASSED [ 1%] tests/_internal/test_query_list.py::test_filter[items10-filter_expr10-expected_result10] PASSED [ 1%] tests/_internal/test_query_list.py::test_filter[items11-filter_expr11-expected_result11] PASSED [ 1%] tests/_internal/test_query_list.py::test_filter[items12-filter_expr12-expected_result12] PASSED [ 2%] tests/_internal/test_query_list.py::test_filter[items13-filter_expr13-expected_result13] PASSED [ 2%] tests/_internal/test_query_list.py::test_filter[items14-filter_expr14-expected_result14] PASSED [ 2%] tests/_internal/test_query_list.py::test_filter[items15-filter_expr15-expected_result15] PASSED [ 2%] tests/_internal/test_query_list.py::test_filter[items16-filter_expr16-expected_result16] PASSED [ 2%] tests/_internal/test_query_list.py::test_filter[items17-filter_expr17-expected_result17] PASSED [ 2%] tests/_internal/test_query_list.py::test_filter[items18-filter_expr18-expected_result18] PASSED [ 3%] tests/_internal/test_query_list.py::test_filter[items19-filter_expr19-expected_result19] PASSED [ 3%] tests/_internal/test_query_list.py::test_filter[items20-filter_expr20-expected_result20] PASSED [ 3%] tests/_internal/test_query_list.py::test_filter[items21-filter_expr21-expected_result21] PASSED [ 3%] tests/_internal/test_query_list.py::test_filter[items22-filter_expr22-expected_result22] PASSED [ 3%] tests/_internal/test_query_list.py::test_filter[items23-filter_expr23-expected_result23] PASSED [ 3%] tests/_internal/test_query_list.py::test_filter[items24-filter_expr24-expected_result24] PASSED [ 4%] tests/_internal/test_query_list.py::test_filter[items25-filter_expr25-expected_result25] PASSED [ 4%] tests/_internal/test_query_list.py::test_filter[items26-filter_expr26-expected_result26] PASSED [ 4%] tests/_internal/test_query_list.py::test_filter[items27-filter_expr27-expected_result27] PASSED [ 4%] tests/_internal/test_query_list.py::test_filter[items28-filter_expr28-expected_result28] PASSED [ 4%] tests/_internal/test_query_list.py::test_filter[items29-filter_expr29-expected_result29] PASSED [ 4%] tests/_internal/test_query_list.py::test_filter[items30-filter_expr30-expected_result30] PASSED [ 5%] tests/_internal/test_query_list.py::test_filter[items31-filter_expr31-expected_result31] PASSED [ 5%] tests/_internal/test_query_list.py::test_filter[items32-filter_expr32-expected_result32] PASSED [ 5%] tests/_internal/test_query_list.py::test_filter[items33-None-expected_result33] PASSED [ 5%] tests/_internal/test_query_list.py::test_filter[items34-filter_expr34-expected_result34] PASSED [ 5%] tests/_internal/test_query_list.py::test_filter[items35-filter_expr35-expected_result35] PASSED [ 5%] tests/_internal/test_query_list.py::test_filter[items36--expected_result36] PASSED [ 6%] tests/_internal/test_query_list.py::test_filter[items37--expected_result37] PASSED [ 6%] tests/legacy_api/test_common.py::test_allows_master_version PASSED [ 6%] tests/legacy_api/test_common.py::test_allows_next_version PASSED [ 6%] tests/legacy_api/test_common.py::test_get_version_openbsd PASSED [ 6%] tests/legacy_api/test_common.py::test_get_version_too_low PASSED [ 6%] tests/legacy_api/test_common.py::test_ignores_letter_versions PASSED [ 7%] tests/legacy_api/test_common.py::test_error_version_less_1_7 PASSED [ 7%] tests/legacy_api/test_common.py::test_has_version PASSED [ 7%] tests/legacy_api/test_common.py::test_has_gt_version PASSED [ 7%] tests/legacy_api/test_common.py::test_has_gte_version PASSED [ 7%] tests/legacy_api/test_common.py::test_has_lt_version PASSED [ 7%] tests/legacy_api/test_common.py::test_has_lte_version PASSED [ 8%] tests/legacy_api/test_common.py::test_tmux_cmd_raises_on_not_found PASSED [ 8%] tests/legacy_api/test_common.py::test_tmux_cmd_unicode ERROR [ 8%] tests/legacy_api/test_common.py::test_session_check_name[-True-empty] PASSED [ 8%] tests/legacy_api/test_common.py::test_session_check_name[None-True-empty] PASSED [ 8%] tests/legacy_api/test_common.py::test_session_check_name[my great session.-True-contains periods] PASSED [ 8%] tests/legacy_api/test_common.py::test_session_check_name[name: great session-True-contains colons] PASSED [ 9%] tests/legacy_api/test_common.py::test_session_check_name[new great session-False-None] PASSED [ 9%] tests/legacy_api/test_common.py::test_session_check_name[ajf8a3fa83fads,,,a-False-None] PASSED [ 9%] tests/legacy_api/test_common.py::test_get_libtmux_version PASSED [ 9%] tests/legacy_api/test_pane.py::test_resize_pane_raises_deprecated_error ERROR [ 9%] tests/legacy_api/test_pane.py::test_select_pane_raises_deprecated_error ERROR [ 9%] tests/legacy_api/test_pane.py::test_split_window_raises_deprecated_error ERROR [ 10%] tests/legacy_api/test_pane.py::test_pane_get_raises_deprecated_error ERROR [ 10%] tests/legacy_api/test_pane.py::test_pane_getitem_raises_deprecated_error ERROR [ 10%] tests/legacy_api/test_server.py::test_kill_server_raises_deprecated_error PASSED [ 10%] tests/legacy_api/test_server.py::test_server_get_by_id_raises_deprecated_error PASSED [ 10%] tests/legacy_api/test_server.py::test_server_where_raises_deprecated_error PASSED [ 10%] tests/legacy_api/test_server.py::test_server_find_where_raises_deprecated_error PASSED [ 11%] tests/legacy_api/test_server.py::test_server_list_sessions_raises_deprecated_error PASSED [ 11%] tests/legacy_api/test_server.py::test_server_children_raises_deprecated_error PASSED [ 11%] tests/legacy_api/test_server.py::test_server__sessions_raises_deprecated_error PASSED [ 11%] tests/legacy_api/test_server.py::test_server__list_sessions_raises_deprecated_error PASSED [ 11%] tests/legacy_api/test_server.py::test_server__list_windows_raises_deprecated_error PASSED [ 11%] tests/legacy_api/test_server.py::test_server__update_windows_raises_deprecated_error PASSED [ 12%] tests/legacy_api/test_server.py::test_server__list_panes_raises_deprecated_error PASSED [ 12%] tests/legacy_api/test_server.py::test_server__update_panes_raises_deprecated_error PASSED [ 12%] tests/legacy_api/test_session.py::test_attached_window_raises_deprecated_error ERROR [ 12%] tests/legacy_api/test_session.py::test_attached_pane_raises_deprecated_error ERROR [ 12%] tests/legacy_api/test_session.py::test_attach_session_raises_deprecated_error ERROR [ 12%] tests/legacy_api/test_session.py::test_kill_session_raises_deprecated_error FAILED [ 12%] tests/legacy_api/test_session.py::test_session_get_raises_deprecated_error ERROR [ 13%] tests/legacy_api/test_session.py::test_session_getitem_raises_deprecated_error ERROR [ 13%] tests/legacy_api/test_session.py::test_session_get_by_id_raises_deprecated_error ERROR [ 13%] tests/legacy_api/test_session.py::test_session_where_raises_deprecated_error ERROR [ 13%] tests/legacy_api/test_session.py::test_session_find_where_raises_deprecated_error ERROR [ 13%] tests/legacy_api/test_session.py::test_session_list_windows_raises_deprecated_error ERROR [ 13%] tests/legacy_api/test_session.py::test_session_children_raises_deprecated_error ERROR [ 14%] tests/legacy_api/test_session.py::test_session__windows_raises_deprecated_error ERROR [ 14%] tests/legacy_api/test_session.py::test_session__list_windows_raises_deprecated_error ERROR [ 14%] tests/legacy_api/test_tmuxobject.py::test_server_find_where_raises_deprecated_error PASSED [ 14%] tests/legacy_api/test_tmuxobject.py::test_session_find_where_raises_deprecated_error ERROR [ 14%] tests/legacy_api/test_tmuxobject.py::test_window_find_where_raises_deprecated_error ERROR [ 14%] tests/legacy_api/test_tmuxobject.py::test_server_where_raises_deprecated_error PASSED [ 15%] tests/legacy_api/test_tmuxobject.py::test_session_where_raises_deprecated_error ERROR [ 15%] tests/legacy_api/test_tmuxobject.py::test_window_where_raises_deprecated_error ERROR [ 15%] tests/legacy_api/test_tmuxobject.py::test_server_get_by_id_raises_deprecated_error PASSED [ 15%] tests/legacy_api/test_tmuxobject.py::test_session_get_by_id_raises_deprecated_error ERROR [ 15%] tests/legacy_api/test_tmuxobject.py::test_window_get_by_id_raises_deprecated_error ERROR [ 15%] tests/legacy_api/test_version.py::test_version[1] PASSED [ 16%] tests/legacy_api/test_version.py::test_version[1.0] PASSED [ 16%] tests/legacy_api/test_version.py::test_version[1.0.0] PASSED [ 16%] tests/legacy_api/test_version.py::test_version[1.0.0b] PASSED [ 16%] tests/legacy_api/test_version.py::test_version[1.0.0b1] PASSED [ 16%] tests/legacy_api/test_version.py::test_version[1.0.0b-openbsd] PASSED [ 16%] tests/legacy_api/test_version.py::test_version[1.0.0-next] PASSED [ 17%] tests/legacy_api/test_version.py::test_version[1.0.0-next.1] PASSED [ 17%] tests/legacy_api/test_version.py::test_version_compare[1-eq-1-False] PASSED [ 17%] tests/legacy_api/test_version.py::test_version_compare[1-eq-1.0-False] PASSED [ 17%] tests/legacy_api/test_version.py::test_version_compare[1-eq-1.0.0-False] PASSED [ 17%] tests/legacy_api/test_version.py::test_version_compare[1-gt-1.0.0a-False] PASSED [ 17%] tests/legacy_api/test_version.py::test_version_compare[1-gt-1.0.0b-False] PASSED [ 18%] tests/legacy_api/test_version.py::test_version_compare[1-lt-1.0.0p1-False] PASSED [ 18%] tests/legacy_api/test_version.py::test_version_compare[1-lt-1.0.0-openbsd-False] PASSED [ 18%] tests/legacy_api/test_version.py::test_version_compare[1-lt-1-AssertionError] PASSED [ 18%] tests/legacy_api/test_version.py::test_version_compare[1.0.0c-gt-1.0.0b-False] PASSED [ 18%] tests/legacy_api/test_window.py::test_split_window_raises_deprecated_error ERROR [ 18%] tests/legacy_api/test_window.py::test_attached_pane_raises_deprecated_error ERROR [ 19%] tests/legacy_api/test_window.py::test_select_window_raises_deprecated_error ERROR [ 19%] tests/legacy_api/test_window.py::test_kill_window_raises_deprecated_error ERROR [ 19%] tests/legacy_api/test_window.py::test_set_window_option_emits_deprecation_warning ERROR [ 19%] tests/legacy_api/test_window.py::test_show_window_options_emits_deprecation_warning ERROR [ 19%] tests/legacy_api/test_window.py::test_show_window_option_emits_deprecation_warning ERROR [ 19%] tests/legacy_api/test_window.py::test_window_get_raises_deprecated_error ERROR [ 20%] tests/legacy_api/test_window.py::test_window_getitem_raises_deprecated_error ERROR [ 20%] tests/legacy_api/test_window.py::test_window_get_by_id_raises_deprecated_error ERROR [ 20%] tests/legacy_api/test_window.py::test_window_where_raises_deprecated_error ERROR [ 20%] tests/legacy_api/test_window.py::test_window_find_where_raises_deprecated_error ERROR [ 20%] tests/legacy_api/test_window.py::test_window_list_panes_raises_deprecated_error ERROR [ 20%] tests/legacy_api/test_window.py::test_window_children_raises_deprecated_error ERROR [ 21%] tests/legacy_api/test_window.py::test_window__panes_raises_deprecated_error ERROR [ 21%] tests/legacy_api/test_window.py::test_window__list_panes_raises_deprecated_error ERROR [ 21%] tests/test/test_constants.py::test_test_session_prefix PASSED [ 21%] tests/test/test_constants.py::test_retry_timeout_seconds_default PASSED [ 21%] tests/test/test_constants.py::test_retry_timeout_seconds_env PASSED [ 21%] tests/test/test_constants.py::test_retry_interval_seconds_default PASSED [ 22%] tests/test/test_constants.py::test_retry_interval_seconds_env PASSED [ 22%] tests/test/test_environment.py::test_environment_var_guard_set PASSED [ 22%] tests/test/test_environment.py::test_environment_var_guard_unset PASSED [ 22%] tests/test/test_environment.py::test_environment_var_guard_context_manager PASSED [ 22%] tests/test/test_environment.py::test_environment_var_guard_cleanup_on_exception PASSED [ 22%] tests/test/test_environment.py::test_environment_var_guard_unset_and_reset PASSED [ 23%] tests/test/test_environment.py::test_environment_var_guard_exit_with_exception PASSED [ 23%] tests/test/test_environment.py::test_environment_var_guard_unset_previously_set PASSED [ 23%] tests/test/test_random.py::test_logger PASSED [ 23%] tests/test/test_random.py::test_random_str_sequence_default PASSED [ 23%] tests/test/test_random.py::test_random_str_sequence_custom_chars PASSED [ 23%] tests/test/test_random.py::test_random_str_sequence_uniqueness PASSED [ 24%] tests/test/test_random.py::test_random_str_sequence_iterator PASSED [ 24%] tests/test/test_random.py::test_random_str_sequence_doctest_examples PASSED [ 24%] tests/test/test_random.py::test_namer_global_instance PASSED [ 24%] tests/test/test_random.py::test_get_test_session_name_doctest_examples PASSED [ 24%] tests/test/test_random.py::test_get_test_session_name_default_prefix PASSED [ 24%] tests/test/test_random.py::test_get_test_session_name_custom_prefix PASSED [ 25%] tests/test/test_random.py::test_get_test_session_name_loop_behavior FAILED [ 25%] tests/test/test_random.py::test_get_test_window_name_doctest_examples ERROR [ 25%] tests/test/test_random.py::test_get_test_window_name_default_prefix ERROR [ 25%] tests/test/test_random.py::test_get_test_window_name_custom_prefix ERROR [ 25%] tests/test/test_random.py::test_get_test_window_name_loop_behavior ERROR [ 25%] tests/test/test_random.py::test_get_test_window_name_requires_prefix PASSED [ 25%] tests/test/test_random.py::test_random_str_sequence_self_type PASSED [ 26%] tests/test/test_random.py::test_random_str_sequence_small_character_set PASSED [ 26%] tests/test/test_random.py::test_random_str_sequence_insufficient_characters PASSED [ 26%] tests/test/test_random.py::test_logger_configured PASSED [ 26%] tests/test/test_random.py::test_next_method_directly PASSED [ 26%] tests/test/test_random.py::test_namer_initialization PASSED [ 26%] tests/test/test_random.py::test_random_str_sequence_iter_next_methods PASSED [ 27%] tests/test/test_random.py::test_collisions_with_real_objects ERROR [ 27%] tests/test/test_random.py::test_imports_coverage PASSED [ 27%] tests/test/test_random.py::test_iterator_protocol PASSED [ 27%] tests/test/test_random.py::test_get_test_session_name_collision_handling PASSED [ 27%] tests/test/test_random.py::test_get_test_window_name_null_prefix PASSED [ 27%] tests/test/test_random.py::test_import_typing_coverage PASSED [ 28%] tests/test/test_random.py::test_random_str_sequence_direct_instantiation PASSED [ 28%] tests/test/test_random.py::test_get_test_window_name_collision_handling ERROR [ 28%] tests/test/test_random.py::test_random_str_sequence_return_statements PASSED [ 28%] tests/test/test_random.py::test_get_test_session_name_implementation_details FAILED [ 28%] tests/test/test_random.py::test_get_test_window_name_branch_coverage ERROR [ 28%] tests/test/test_retry.py::test_retry_three_times PASSED [ 29%] tests/test/test_retry.py::test_function_times_out PASSED [ 29%] tests/test/test_retry.py::test_function_times_out_no_raise PASSED [ 29%] tests/test/test_retry.py::test_function_times_out_no_raise_assert PASSED [ 29%] tests/test/test_retry.py::test_retry_three_times_no_raise_assert PASSED [ 29%] tests/test/test_sparse_array.py::test_is_sparse_array_list[empty_dict] PASSED [ 29%] tests/test/test_sparse_array.py::test_is_sparse_array_list[sparse_arrays_only] PASSED [ 30%] tests/test/test_sparse_array.py::test_is_sparse_array_list[mixed_values] PASSED [ 30%] tests/test/test_sparse_array.py::test_is_sparse_array_list[strings_only] PASSED [ 30%] tests/test/test_sparse_array.py::test_is_sparse_array_list[none_value] PASSED [ 30%] tests/test/test_sparse_array.py::test_sparse_array_append[append_to_empty] PASSED [ 30%] tests/test/test_sparse_array.py::test_sparse_array_append[append_after_add] PASSED [ 30%] tests/test/test_sparse_array.py::test_sparse_array_append[multiple_appends] PASSED [ 31%] tests/test/test_sparse_array.py::test_sparse_array_iter_values[sorted_order] PASSED [ 31%] tests/test/test_sparse_array.py::test_sparse_array_iter_values[empty] PASSED [ 31%] tests/test/test_sparse_array.py::test_sparse_array_iter_values[consecutive] PASSED [ 31%] tests/test/test_sparse_array.py::test_sparse_array_as_list[sorted_order] PASSED [ 31%] tests/test/test_sparse_array.py::test_sparse_array_as_list[empty] PASSED [ 31%] tests/test/test_sparse_array.py::test_sparse_array_as_list[consecutive] PASSED [ 32%] tests/test/test_temporary.py::test_temp_session_creates_and_destroys FAILED [ 32%] tests/test/test_temporary.py::test_temp_session_with_name FAILED [ 32%] tests/test/test_temporary.py::test_temp_session_cleanup_on_exception FAILED [ 32%] tests/test/test_temporary.py::test_temp_window_creates_and_destroys ERROR [ 32%] tests/test/test_temporary.py::test_temp_window_with_name ERROR [ 32%] tests/test/test_temporary.py::test_temp_window_cleanup_on_exception ERROR [ 33%] tests/test/test_temporary.py::test_temp_session_outside_context FAILED [ 33%] tests/test/test_temporary.py::test_temp_window_outside_context ERROR [ 33%] tests/test_common.py::test_has_version PASSED [ 33%] tests/test_common.py::test_tmux_cmd_raises_on_not_found PASSED [ 33%] tests/test_common.py::test_tmux_cmd_unicode ERROR [ 33%] tests/test_common.py::test_session_check_name[empty_string] PASSED [ 34%] tests/test_common.py::test_session_check_name[none_value] PASSED [ 34%] tests/test_common.py::test_session_check_name[contains_period] PASSED [ 34%] tests/test_common.py::test_session_check_name[contains_colon] PASSED [ 34%] tests/test_common.py::test_session_check_name[valid_name] PASSED [ 34%] tests/test_common.py::test_session_check_name[valid_with_special_chars] PASSED [ 34%] tests/test_common.py::test_get_libtmux_version PASSED [ 35%] tests/test_common.py::test_version_comparison[gt_older_version] PASSED [ 35%] tests/test_common.py::test_version_comparison[gt_older_version_with_letter] PASSED [ 35%] tests/test_common.py::test_version_comparison[gt_newer_version] PASSED [ 35%] tests/test_common.py::test_version_comparison[gt_newer_version_with_letter] PASSED [ 35%] tests/test_common.py::test_version_comparison[gte_older_version] PASSED [ 35%] tests/test_common.py::test_version_comparison[gte_older_version_with_letter] PASSED [ 36%] tests/test_common.py::test_version_comparison[gte_current_version] PASSED [ 36%] tests/test_common.py::test_version_comparison[gte_newer_version] PASSED [ 36%] tests/test_common.py::test_version_comparison[gte_newer_version_with_letter] PASSED [ 36%] tests/test_common.py::test_version_comparison[lt_newer_version_with_letter] PASSED [ 36%] tests/test_common.py::test_version_comparison[lt_newer_version] PASSED [ 36%] tests/test_common.py::test_version_comparison[lt_older_version] PASSED [ 37%] tests/test_common.py::test_version_comparison[lt_current_version] PASSED [ 37%] tests/test_common.py::test_version_comparison[lte_newer_version_with_letter] PASSED [ 37%] tests/test_common.py::test_version_comparison[lte_newer_version] PASSED [ 37%] tests/test_common.py::test_version_comparison[lte_current_version] PASSED [ 37%] tests/test_common.py::test_version_comparison[lte_older_version] PASSED [ 37%] tests/test_common.py::test_version_comparison[lte_older_version_with_letter] PASSED [ 37%] tests/test_common.py::test_version_parsing[master_version] PASSED [ 38%] tests/test_common.py::test_version_parsing[next_version] PASSED [ 38%] tests/test_common.py::test_version_parsing[openbsd_version] PASSED [ 38%] tests/test_common.py::test_version_parsing[too_low_version] PASSED [ 38%] tests/test_common.py::test_version_validation[accepts_letter_in_min_version_1_9a] PASSED [ 38%] tests/test_common.py::test_version_validation[accepts_letter_in_min_version_1_8a] PASSED [ 38%] tests/test_common.py::test_version_validation[accepts_version_1_8] PASSED [ 39%] tests/test_common.py::test_version_validation[accepts_version_1_8a] PASSED [ 39%] tests/test_common.py::test_version_validation[accepts_version_1_9a] PASSED [ 39%] tests/test_common.py::test_version_validation[rejects_version_1_7] PASSED [ 39%] tests/test_common.py::test_version_validation[accepts_master_version] PASSED [ 39%] tests/test_common.py::test_version_validation[accepts_next_version] PASSED [ 39%] tests/test_common.py::test_version_validation[accepts_openbsd_version] PASSED [ 40%] tests/test_common.py::test_version_validation[accepts_dev_version] PASSED [ 40%] tests/test_common.py::test_version_validation[accepts_rc_version] PASSED [ 40%] tests/test_dataclasses.py::test_pane FAILED [ 40%] tests/test_dataclasses.py::test_querylist ERROR [ 40%] tests/test_hooks.py::test_hooks_raw_cmd FAILED [ 40%] tests/test_hooks.py::test_hooks_dataclass FAILED [ 41%] tests/test_hooks.py::test_hooks_mixin FAILED [ 41%] tests/test_hooks.py::test_hook_set_show_unset_cycle[alert_activity] FAILED [ 41%] tests/test_hooks.py::test_hook_set_show_unset_cycle[alert_bell] FAILED [ 41%] tests/test_hooks.py::test_hook_set_show_unset_cycle[alert_silence] FAILED [ 41%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_active] FAILED [ 41%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_attached] FAILED [ 42%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_detached] FAILED [ 42%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_focus_in] FAILED [ 42%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_focus_out] FAILED [ 42%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_resized] FAILED [ 42%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_session_changed] FAILED [ 42%] tests/test_hooks.py::test_hook_set_show_unset_cycle[session_created] FAILED [ 43%] tests/test_hooks.py::test_hook_set_show_unset_cycle[session_closed] FAILED [ 43%] tests/test_hooks.py::test_hook_set_show_unset_cycle[session_renamed] FAILED [ 43%] tests/test_hooks.py::test_hook_set_show_unset_cycle[window_linked] FAILED [ 43%] tests/test_hooks.py::test_hook_set_show_unset_cycle[window_renamed] FAILED [ 43%] tests/test_hooks.py::test_hook_set_show_unset_cycle[window_resized] FAILED [ 43%] tests/test_hooks.py::test_hook_set_show_unset_cycle[window_unlinked] FAILED [ 44%] tests/test_hooks.py::test_hook_set_show_unset_cycle[session_window_changed] FAILED [ 44%] tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_died] FAILED [ 44%] tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_exited] FAILED [ 44%] tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_focus_in] FAILED [ 44%] tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_focus_out] FAILED [ 44%] tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_mode_changed] FAILED [ 45%] tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_set_clipboard] FAILED [ 45%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_bind_key] FAILED [ 45%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_capture_pane] FAILED [ 45%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_copy_mode] FAILED [ 45%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_display_message] FAILED [ 45%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_display_panes] FAILED [ 46%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_kill_pane] FAILED [ 46%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_buffers] FAILED [ 46%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_clients] FAILED [ 46%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_keys] FAILED [ 46%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_panes] FAILED [ 46%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_sessions] FAILED [ 47%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_windows] FAILED [ 47%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_load_buffer] FAILED [ 47%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_lock_server] FAILED [ 47%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_new_session] FAILED [ 47%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_new_window] FAILED [ 47%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_paste_buffer] FAILED [ 48%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_pipe_pane] FAILED [ 48%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_queue] FAILED [ 48%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_refresh_client] FAILED [ 48%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_rename_session] FAILED [ 48%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_rename_window] FAILED [ 48%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_resize_pane] FAILED [ 49%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_resize_window] FAILED [ 49%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_save_buffer] FAILED [ 49%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_select_layout] FAILED [ 49%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_select_pane] FAILED [ 49%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_select_window] FAILED [ 49%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_send_keys] FAILED [ 50%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_buffer] FAILED [ 50%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_environment] FAILED [ 50%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_hook] FAILED [ 50%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_option] FAILED [ 50%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_show_environment] FAILED [ 50%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_show_messages] FAILED [ 50%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_show_options] FAILED [ 51%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_split_window] FAILED [ 51%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_unbind_key] FAILED [ 51%] tests/test_hooks.py::test_new_hooks_version_gated[pane_title_changed] FAILED [ 51%] tests/test_hooks.py::test_set_hooks[set_hooks_with_dict] FAILED [ 51%] tests/test_hooks.py::test_set_hooks[set_hooks_with_list] FAILED [ 51%] tests/test_hooks.py::test_set_hooks[set_hooks_clear_existing] FAILED [ 52%] tests/test_hooks.py::test_show_hook_returns_sparse_array FAILED [ 52%] tests/test_hooks.py::test_show_hook_indexed_lookup[index_zero-session-renamed-0-display-message 'test zero'] FAILED [ 52%] tests/test_hooks.py::test_show_hook_indexed_lookup[index_five-session-renamed-5-display-message 'test five'] FAILED [ 52%] tests/test_hooks.py::test_show_hook_indexed_lookup[window_hook-window-renamed-0-display-message 'window test'] FAILED [ 52%] tests/test_hooks.py::test_set_hooks_with_sparse_array FAILED [ 52%] tests/test_hooks.py::test_set_hooks_method_chaining FAILED [ 53%] tests/test_hooks.py::test_unset_hook_clears_all_indices FAILED [ 53%] tests/test_hooks.py::test_set_hook_append_flag FAILED [ 53%] tests/test_hooks.py::test_show_hooks_stores_string_values[string_hook_value] FAILED [ 53%] tests/test_hooks.py::test_show_hooks_stores_string_values[multiple_hooks] FAILED [ 53%] tests/test_hooks.py::test_run_hook_basic FAILED [ 53%] tests/test_hooks.py::test_set_hook_flag_combinations[append_to_existing] FAILED [ 54%] tests/test_hooks.py::test_set_hook_flag_combinations[global_hook] FAILED [ 54%] tests/test_hooks.py::test_set_hook_flag_combinations[run_immediately] FAILED [ 54%] tests/test_hooks.py::test_set_hook_flag_combinations[append_and_global] FAILED [ 54%] tests/test_hooks.py::test_hook_scope_handling[session_scope] FAILED [ 54%] tests/test_hooks.py::test_hook_scope_handling[window_scope] FAILED [ 54%] tests/test_hooks.py::test_hook_scope_handling[pane_scope] FAILED [ 55%] tests/test_hooks.py::test_show_hooks_parsing_edge_cases[normal_hook_value] FAILED [ 55%] tests/test_hooks.py::test_show_hooks_parsing_edge_cases[multiple_indexed_hooks] FAILED [ 55%] tests/test_hooks.py::test_show_hooks_parsing_edge_cases[multiple_different_hooks] FAILED [ 55%] tests/test_hooks.py::test_show_hooks_empty_result FAILED [ 55%] tests/test_options.py::test_options FAILED [ 55%] tests/test_options.py::test_options_server FAILED [ 56%] tests/test_options.py::test_options_session FAILED [ 56%] tests/test_options.py::test_options_window FAILED [ 56%] tests/test_options.py::test_options_pane FAILED [ 56%] tests/test_options.py::test_options_grid FAILED [ 56%] tests/test_options.py::test_custom_options FAILED [ 56%] tests/test_options.py::test_terminal_features PASSED [ 57%] tests/test_options.py::test_terminal_overrides PASSED [ 57%] tests/test_options.py::test_terminal_overrides_multi_feature[two_flags-xterm*:smcup@:rmcup@-xterm*-expected_features0] PASSED [ 57%] tests/test_options.py::test_terminal_overrides_multi_feature[flag_and_keyval-xterm*:XT:Ms=clipboard-xterm*-expected_features1] PASSED [ 57%] tests/test_options.py::test_terminal_overrides_multi_feature[multiple_keyvals-screen*:Tc:RGB:setab=test-screen*-expected_features2] PASSED [ 57%] tests/test_options.py::test_terminal_overrides_multi_feature[integer_value-tmux*:colors=256:Tc-tmux*-expected_features3] PASSED [ 57%] tests/test_options.py::test_command_alias PASSED [ 58%] tests/test_options.py::test_user_keys PASSED [ 58%] tests/test_options.py::test_mocked_cmd_stdoutclass_fixture[terminal-features] PASSED [ 58%] tests/test_options.py::test_mocked_cmd_stdoutclass_fixture[command-alias] PASSED [ 58%] tests/test_options.py::test_show_option_pane_fixture[terminal-features] FAILED [ 58%] tests/test_options.py::test_show_option_pane_fixture[command-alias] FAILED [ 58%] tests/test_options.py::test_stable_baseline_options_and_hooks FAILED [ 59%] tests/test_options.py::test_high_level_api_expectations PASSED [ 59%] tests/test_options.py::test_complex_option_values FAILED [ 59%] tests/test_options.py::test_style_option_validation FAILED [ 59%] tests/test_options.py::test_option_error_handling FAILED [ 59%] tests/test_options.py::test_terminal_features_edge_cases PASSED [ 59%] tests/test_options.py::test_option_set_show_cycle[server_buffer_limit] FAILED [ 60%] tests/test_options.py::test_option_set_show_cycle[server_escape_time] FAILED [ 60%] tests/test_options.py::test_option_set_show_cycle[server_message_limit] FAILED [ 60%] tests/test_options.py::test_option_set_show_cycle[server_prompt_history_limit] FAILED [ 60%] tests/test_options.py::test_option_set_show_cycle[server_exit_empty] FAILED [ 60%] tests/test_options.py::test_option_set_show_cycle[server_exit_unattached] FAILED [ 60%] tests/test_options.py::test_option_set_show_cycle[server_focus_events] FAILED [ 61%] tests/test_options.py::test_option_set_show_cycle[server_extended_keys] FAILED [ 61%] tests/test_options.py::test_option_set_show_cycle[server_set_clipboard] FAILED [ 61%] tests/test_options.py::test_option_set_show_cycle[server_default_terminal] FAILED [ 61%] tests/test_options.py::test_option_set_show_cycle[server_editor] FAILED [ 61%] tests/test_options.py::test_option_set_show_cycle[session_base_index] FAILED [ 61%] tests/test_options.py::test_option_set_show_cycle[session_display_panes_time] FAILED [ 62%] tests/test_options.py::test_option_set_show_cycle[session_display_time] FAILED [ 62%] tests/test_options.py::test_option_set_show_cycle[session_history_limit] FAILED [ 62%] tests/test_options.py::test_option_set_show_cycle[session_lock_after_time] FAILED [ 62%] tests/test_options.py::test_option_set_show_cycle[session_repeat_time] FAILED [ 62%] tests/test_options.py::test_option_set_show_cycle[session_status_interval] FAILED [ 62%] tests/test_options.py::test_option_set_show_cycle[session_status_left_length] FAILED [ 62%] tests/test_options.py::test_option_set_show_cycle[session_status_right_length] FAILED [ 63%] tests/test_options.py::test_option_set_show_cycle[session_destroy_unattached] FAILED [ 63%] tests/test_options.py::test_option_set_show_cycle[session_mouse] FAILED [ 63%] tests/test_options.py::test_option_set_show_cycle[session_renumber_windows] FAILED [ 63%] tests/test_options.py::test_option_set_show_cycle[session_set_titles] FAILED [ 63%] tests/test_options.py::test_option_set_show_cycle[session_activity_action] FAILED [ 63%] tests/test_options.py::test_option_set_show_cycle[session_bell_action] FAILED [ 64%] tests/test_options.py::test_option_set_show_cycle[session_detach_on_destroy] FAILED [ 64%] tests/test_options.py::test_option_set_show_cycle[session_silence_action] FAILED [ 64%] tests/test_options.py::test_option_set_show_cycle[session_status_keys] FAILED [ 64%] tests/test_options.py::test_option_set_show_cycle[session_status_justify] FAILED [ 64%] tests/test_options.py::test_option_set_show_cycle[session_status_position] FAILED [ 64%] tests/test_options.py::test_option_set_show_cycle[session_visual_activity] FAILED [ 65%] tests/test_options.py::test_option_set_show_cycle[session_visual_bell] FAILED [ 65%] tests/test_options.py::test_option_set_show_cycle[session_visual_silence] FAILED [ 65%] tests/test_options.py::test_option_set_show_cycle[session_default_command] FAILED [ 65%] tests/test_options.py::test_option_set_show_cycle[session_status_left] FAILED [ 65%] tests/test_options.py::test_option_set_show_cycle[session_status_right] FAILED [ 65%] tests/test_options.py::test_option_set_show_cycle[session_status_style] FAILED [ 66%] tests/test_options.py::test_option_set_show_cycle[session_status_left_style] FAILED [ 66%] tests/test_options.py::test_option_set_show_cycle[session_status_right_style] FAILED [ 66%] tests/test_options.py::test_option_set_show_cycle[session_message_style] FAILED [ 66%] tests/test_options.py::test_option_set_show_cycle[window_pane_base_index] FAILED [ 66%] tests/test_options.py::test_option_set_show_cycle[window_monitor_silence] FAILED [ 66%] tests/test_options.py::test_option_set_show_cycle[window_aggressive_resize] FAILED [ 67%] tests/test_options.py::test_option_set_show_cycle[window_automatic_rename] FAILED [ 67%] tests/test_options.py::test_option_set_show_cycle[window_monitor_activity] FAILED [ 67%] tests/test_options.py::test_option_set_show_cycle[window_monitor_bell] FAILED [ 67%] tests/test_options.py::test_option_set_show_cycle[window_wrap_search] FAILED [ 67%] tests/test_options.py::test_option_set_show_cycle[window_clock_mode_style] FAILED [ 67%] tests/test_options.py::test_option_set_show_cycle[window_mode_keys] FAILED [ 68%] tests/test_options.py::test_option_set_show_cycle[window_pane_border_status] FAILED [ 68%] tests/test_options.py::test_option_set_show_cycle[window_window_size] FAILED [ 68%] tests/test_options.py::test_option_set_show_cycle[window_pane_border_format] FAILED [ 68%] tests/test_options.py::test_option_set_show_cycle[window_mode_style] FAILED [ 68%] tests/test_options.py::test_option_set_show_cycle[window_pane_border_style] FAILED [ 68%] tests/test_options.py::test_option_set_show_cycle[window_pane_active_border_style] FAILED [ 69%] tests/test_options.py::test_option_set_show_cycle[window_window_status_style] FAILED [ 69%] tests/test_options.py::test_option_set_show_cycle[window_window_status_current_style] FAILED [ 69%] tests/test_options.py::test_option_set_show_cycle[pane_allow_rename] FAILED [ 69%] tests/test_options.py::test_option_set_show_cycle[pane_alternate_screen] FAILED [ 69%] tests/test_options.py::test_option_set_show_cycle[pane_scroll_on_clear] FAILED [ 69%] tests/test_options.py::test_option_set_show_cycle[pane_synchronize_panes] FAILED [ 70%] tests/test_options.py::test_option_set_show_cycle[pane_allow_passthrough] FAILED [ 70%] tests/test_options.py::test_option_set_show_cycle[pane_remain_on_exit] FAILED [ 70%] tests/test_options.py::test_option_set_show_cycle[pane_window_style] FAILED [ 70%] tests/test_options.py::test_option_set_show_cycle[pane_window_active_style] FAILED [ 70%] tests/test_options.py::test_show_options_returns_expected_keys[server_global] FAILED [ 70%] tests/test_options.py::test_show_options_returns_expected_keys[server_global_inherited] FAILED [ 71%] tests/test_options.py::test_show_options_returns_expected_keys[session_global] FAILED [ 71%] tests/test_options.py::test_show_options_returns_expected_keys[session_global_inherited] FAILED [ 71%] tests/test_options.py::test_show_options_returns_expected_keys[window_global] FAILED [ 71%] tests/test_options.py::test_show_options_returns_expected_keys[window_global_inherited] FAILED [ 71%] tests/test_options.py::test_convert_values_sparse_array[boolean_on_off] PASSED [ 71%] tests/test_options.py::test_convert_values_sparse_array[numeric_conversion] PASSED [ 72%] tests/test_options.py::test_convert_values_sparse_array[mixed_values] PASSED [ 72%] tests/test_options.py::test_convert_values_sparse_array[sparse_indices] PASSED [ 72%] tests/test_options.py::test_convert_values_preserves_sparse_keys PASSED [ 72%] tests/test_options.py::test_show_option_g_parameter_emits_deprecation_warning ERROR [ 72%] tests/test_options.py::test_show_option_indexed_array[indexed_returns_value] ERROR [ 72%] tests/test_options.py::test_show_option_indexed_array[base_name_returns_sparse_array] ERROR [ 73%] tests/test_options.py::test_explode_arrays_preserves_inherited_marker[inherited_array_marker_preserved] PASSED [ 73%] tests/test_options.py::test_explode_arrays_preserves_inherited_marker[non_inherited_array_no_marker] PASSED [ 73%] tests/test_options.py::test_explode_arrays_preserves_inherited_marker[mixed_inherited_indices] PASSED [ 73%] tests/test_pane.py::test_send_keys ERROR [ 73%] tests/test_pane.py::test_set_height ERROR [ 73%] tests/test_pane.py::test_set_width ERROR [ 74%] tests/test_pane.py::test_capture_pane ERROR [ 74%] tests/test_pane.py::test_capture_pane_end ERROR [ 74%] tests/test_pane.py::test_pane_split_window_zoom ERROR [ 74%] tests/test_pane.py::test_resize ERROR [ 74%] tests/test_pane.py::test_split_pane_size ERROR [ 74%] tests/test_pane.py::test_pane_context_manager ERROR [ 75%] tests/test_pane.py::test_split_start_directory[none_value] ERROR [ 75%] tests/test_pane.py::test_split_start_directory[empty_string] ERROR [ 75%] tests/test_pane.py::test_split_start_directory[user_path] ERROR [ 75%] tests/test_pane.py::test_split_start_directory[relative_path] ERROR [ 75%] tests/test_pane.py::test_split_start_directory_pathlib ERROR [ 75%] tests/test_pane_capture_pane.py::test_capture_pane_flags[basic_capture] ERROR [ 75%] tests/test_pane_capture_pane.py::test_capture_pane_flags[basic_multiline] ERROR [ 76%] tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_red] ERROR [ 76%] tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_green] ERROR [ 76%] tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_bold] ERROR [ 76%] tests/test_pane_capture_pane.py::test_capture_pane_flags[no_escape_sequences] ERROR [ 76%] tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_non_printable_basic] ERROR [ 76%] tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_non_printable_tab] ERROR [ 77%] tests/test_pane_capture_pane.py::test_capture_pane_flags[join_wrapped_long_line] ERROR [ 77%] tests/test_pane_capture_pane.py::test_capture_pane_flags[preserve_trailing_spaces] ERROR [ 77%] tests/test_pane_capture_pane.py::test_capture_pane_flags[no_preserve_trailing] ERROR [ 77%] tests/test_pane_capture_pane.py::test_capture_pane_flags[trim_trailing_basic] ERROR [ 77%] tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_with_join] ERROR [ 77%] tests/test_pane_capture_pane.py::test_capture_pane_flags[join_with_preserve_trailing] ERROR [ 78%] tests/test_pane_capture_pane.py::test_capture_pane_flags[all_flags_except_trim] ERROR [ 78%] tests/test_pane_capture_pane.py::test_capture_pane_backward_compatible ERROR [ 78%] tests/test_pane_capture_pane.py::test_capture_pane_start_end_with_flags ERROR [ 78%] tests/test_pane_capture_pane.py::test_capture_pane_trim_trailing_warning ERROR [ 78%] tests/test_pytest_plugin.py::test_plugin FAILED [ 78%] tests/test_pytest_plugin.py::test_test_server FAILED [ 79%] tests/test_pytest_plugin.py::test_test_server_with_config FAILED [ 79%] tests/test_pytest_plugin.py::test_test_server_cleanup FAILED [ 79%] tests/test_pytest_plugin.py::test_test_server_multiple FAILED [ 79%] tests/test_server.py::test_has_session ERROR [ 79%] tests/test_server.py::test_socket_name PASSED [ 79%] tests/test_server.py::test_socket_path PASSED [ 80%] tests/test_server.py::test_config PASSED [ 80%] tests/test_server.py::test_256_colors PASSED [ 80%] tests/test_server.py::test_88_colors PASSED [ 80%] tests/test_server.py::test_show_environment PASSED [ 80%] tests/test_server.py::test_getenv ERROR [ 80%] tests/test_server.py::test_show_environment_not_set PASSED [ 81%] tests/test_server.py::test_new_session FAILED [ 81%] tests/test_server.py::test_new_session_no_name FAILED [ 81%] tests/test_server.py::test_new_session_shell FAILED [ 81%] tests/test_server.py::test_new_session_shell_env FAILED [ 81%] tests/test_server.py::test_new_session_width_height SKIPPED (tmux 3.2 returns wrong width - test needs rework) [ 81%] tests/test_server.py::test_new_session_environmental_variables FAILED [ 82%] tests/test_server.py::test_no_server_sessions PASSED [ 82%] tests/test_server.py::test_no_server_attached_sessions PASSED [ 82%] tests/test_server.py::test_no_server_is_alive PASSED [ 82%] tests/test_server.py::test_with_server_is_alive FAILED [ 82%] tests/test_server.py::test_raise_if_dead_no_server_raises PASSED [ 82%] tests/test_server.py::test_raise_if_dead_does_not_raise_if_alive FAILED [ 83%] tests/test_server.py::test_on_init PASSED [ 83%] tests/test_server.py::test_socket_name_factory PASSED [ 83%] tests/test_server.py::test_socket_name_precedence PASSED [ 83%] tests/test_server.py::test_server_context_manager FAILED [ 83%] tests/test_server.py::test_new_session_start_directory[none_value] FAILED [ 83%] tests/test_server.py::test_new_session_start_directory[empty_string] FAILED [ 84%] tests/test_server.py::test_new_session_start_directory[user_path] FAILED [ 84%] tests/test_server.py::test_new_session_start_directory[relative_path] FAILED [ 84%] tests/test_server.py::test_new_session_start_directory_pathlib FAILED [ 84%] tests/test_session.py::test_has_session ERROR [ 84%] tests/test_session.py::test_select_window ERROR [ 84%] tests/test_session.py::test_select_window_returns_Window ERROR [ 85%] tests/test_session.py::test_active_window ERROR [ 85%] tests/test_session.py::test_active_pane ERROR [ 85%] tests/test_session.py::test_session_rename ERROR [ 85%] tests/test_session.py::test_new_session FAILED [ 85%] tests/test_session.py::test_show_options ERROR [ 85%] tests/test_session.py::test_set_show_options_single ERROR [ 86%] tests/test_session.py::test_set_show_option ERROR [ 86%] tests/test_session.py::test_empty_session_option_returns_None ERROR [ 86%] tests/test_session.py::test_show_option_unknown ERROR [ 86%] tests/test_session.py::test_show_option_ambiguous ERROR [ 86%] tests/test_session.py::test_set_option_ambiguous ERROR [ 86%] tests/test_session.py::test_set_option_invalid ERROR [ 87%] tests/test_session.py::test_show_environment ERROR [ 87%] tests/test_session.py::test_set_show_environment_single ERROR [ 87%] tests/test_session.py::test_show_environment_not_set ERROR [ 87%] tests/test_session.py::test_remove_environment ERROR [ 87%] tests/test_session.py::test_unset_environment ERROR [ 87%] tests/test_session.py::test_periods_raise_bad_session_name[period_in_name] ERROR [ 87%] tests/test_session.py::test_periods_raise_bad_session_name[colon_in_name] ERROR [ 88%] tests/test_session.py::test_periods_raise_bad_session_name[valid_name] ERROR [ 88%] tests/test_session.py::test_cmd_inserts_session_id ERROR [ 88%] tests/test_session.py::test_new_window_with_environment[single_env_var] ERROR [ 88%] tests/test_session.py::test_new_window_with_environment[multiple_env_vars] ERROR [ 88%] tests/test_session.py::test_session_new_window_with_direction ERROR [ 88%] tests/test_session.py::test_session_context_manager FAILED [ 89%] tests/test_session.py::test_new_window_start_directory[none_value] ERROR [ 89%] tests/test_session.py::test_new_window_start_directory[empty_string] ERROR [ 89%] tests/test_session.py::test_new_window_start_directory[user_path] ERROR [ 89%] tests/test_session.py::test_new_window_start_directory[relative_path] ERROR [ 89%] tests/test_session.py::test_new_window_start_directory_pathlib ERROR [ 89%] tests/test_session.py::test_session_attach_does_not_fail_if_session_killed_during_attach[session_killed_during_attach_should_not_raise] FAILED [ 90%] tests/test_tmuxobject.py::test_find_where ERROR [ 90%] tests/test_tmuxobject.py::test_find_where_None ERROR [ 90%] tests/test_tmuxobject.py::test_find_where_multiple_infos ERROR [ 90%] tests/test_tmuxobject.py::test_where ERROR [ 90%] tests/test_tmuxobject.py::test_filter FAILED [ 90%] tests/test_version.py::test_version[simple_version] PASSED [ 91%] tests/test_version.py::test_version[minor_version] PASSED [ 91%] tests/test_version.py::test_version[patch_version] PASSED [ 91%] tests/test_version.py::test_version[beta_version] PASSED [ 91%] tests/test_version.py::test_version[beta_with_number] PASSED [ 91%] tests/test_version.py::test_version[beta_with_os] PASSED [ 91%] tests/test_version.py::test_version[next_version] PASSED [ 92%] tests/test_version.py::test_version[next_with_number] PASSED [ 92%] tests/test_version.py::test_version_compare[equal_simple] PASSED [ 92%] tests/test_version.py::test_version_compare[equal_with_minor] PASSED [ 92%] tests/test_version.py::test_version_compare[equal_with_patch] PASSED [ 92%] tests/test_version.py::test_version_compare[greater_than_alpha] PASSED [ 92%] tests/test_version.py::test_version_compare[greater_than_beta] PASSED [ 93%] tests/test_version.py::test_version_compare[less_than_patch] PASSED [ 93%] tests/test_version.py::test_version_compare[less_than_openbsd] PASSED [ 93%] tests/test_version.py::test_version_compare[less_than_equal_raises] PASSED [ 93%] tests/test_version.py::test_version_compare[beta_to_rc_compare] PASSED [ 93%] tests/test_window.py::test_select_window ERROR [ 93%] tests/test_window.py::test_fresh_window_data ERROR [ 94%] tests/test_window.py::test_newest_pane_data ERROR [ 94%] tests/test_window.py::test_active_pane ERROR [ 94%] tests/test_window.py::test_split ERROR [ 94%] tests/test_window.py::test_split_shell ERROR [ 94%] tests/test_window.py::test_split_horizontal ERROR [ 94%] tests/test_window.py::test_split_size ERROR [ 95%] tests/test_window.py::test_window_rename[rename_with_spaces] ERROR [ 95%] tests/test_window.py::test_window_rename[rename_with_escapes] ERROR [ 95%] tests/test_window.py::test_kill_window ERROR [ 95%] tests/test_window.py::test_show_window_options ERROR [ 95%] tests/test_window.py::test_set_window_and_show_window_options ERROR [ 95%] tests/test_window.py::test_set_and_show_window_options ERROR [ 96%] tests/test_window.py::test_empty_window_option_returns_None ERROR [ 96%] tests/test_window.py::test_show_window_option ERROR [ 96%] tests/test_window.py::test_show_window_option_unknown ERROR [ 96%] tests/test_window.py::test_show_window_option_ambiguous ERROR [ 96%] tests/test_window.py::test_set_window_option_ambiguous ERROR [ 96%] tests/test_window.py::test_set_window_option_invalid ERROR [ 97%] tests/test_window.py::test_move_window ERROR [ 97%] tests/test_window.py::test_move_window_to_other_session ERROR [ 97%] tests/test_window.py::test_select_layout_accepts_no_arg ERROR [ 97%] tests/test_window.py::test_empty_window_name ERROR [ 97%] tests/test_window.py::test_split_with_environment[single_env_var] ERROR [ 97%] tests/test_window.py::test_split_with_environment[multiple_env_vars] ERROR [ 98%] tests/test_window.py::test_split_window_zoom ERROR [ 98%] tests/test_window.py::test_resize ERROR [ 98%] tests/test_window.py::test_new_window_with_direction ERROR [ 98%] tests/test_window.py::test_window_context_manager ERROR [ 98%] tests/test_window.py::test_split_start_directory[none_value] ERROR [ 98%] tests/test_window.py::test_split_start_directory[empty_string] ERROR [ 99%] tests/test_window.py::test_split_start_directory[user_path] ERROR [ 99%] tests/test_window.py::test_split_start_directory[relative_path] ERROR [ 99%] tests/test_window.py::test_split_start_directory_pathlib ERROR [ 99%] tests/test_window.py::test_deprecated_window_methods_emit_warning[set_window_option] ERROR [ 99%] tests/test_window.py::test_deprecated_window_methods_emit_warning[show_window_options] ERROR [ 99%] tests/test_window.py::test_deprecated_window_methods_emit_warning[show_window_option] ERROR [100%] ==================================== ERRORS ==================================== ___________________ ERROR at setup of test_tmux_cmd_unicode ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testpcwkxq_f) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpcwkxq_f), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpcwkxq_f'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_resize_pane_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_test3faphze4) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3faphze4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test3faphze4'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_select_pane_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_test2f6az0y5) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test2f6az0y5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2f6az0y5'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_split_window_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_testpx74khzg) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpx74khzg), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpx74khzg'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_pane_get_raises_deprecated_error ____________ request = > session_params = {}, server = Server(socket_name=libtmux_testn5qvjdsy) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testn5qvjdsy), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testn5qvjdsy'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_pane_getitem_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_test6gdoqk51) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6gdoqk51), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6gdoqk51'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_attached_window_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_test2v_wyg5o) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test2v_wyg5o), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2v_wyg5o'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_attached_pane_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_testb9xytoh8) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testb9xytoh8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testb9xytoh8'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_attach_session_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_testdjtv9z7_) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdjtv9z7_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdjtv9z7_'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_session_get_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_test6vksxyme) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6vksxyme), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6vksxyme'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_session_getitem_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_testh4bx1qr0) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testh4bx1qr0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testh4bx1qr0'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_session_get_by_id_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_testm_fz0wer) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testm_fz0wer), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testm_fz0wer'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_session_where_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_testu0lbm846) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testu0lbm846), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testu0lbm846'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_session_find_where_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_testtrjundq8) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtrjundq8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testtrjundq8'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_session_list_windows_raises_deprecated_error ______ request = > session_params = {}, server = Server(socket_name=libtmux_testyt8_rogs) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testyt8_rogs), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testyt8_rogs'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_session_children_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_testi6lrz3at) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testi6lrz3at), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testi6lrz3at'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_session__windows_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_test84za6qcl) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test84za6qcl), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test84za6qcl'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_session__list_windows_raises_deprecated_error _____ request = > session_params = {}, server = Server(socket_name=libtmux_testxt9auyrs) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testxt9auyrs), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testxt9auyrs'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_session_find_where_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_test0837ao6b) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test0837ao6b), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test0837ao6b'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_window_find_where_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_testra8wiken) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testra8wiken), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testra8wiken'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_session_where_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_testlw_5m0y2) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testlw_5m0y2), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testlw_5m0y2'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_window_where_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_testuotf2jv_) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testuotf2jv_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testuotf2jv_'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_session_get_by_id_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_testrcyzt_g6) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testrcyzt_g6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrcyzt_g6'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_window_get_by_id_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_testl1q0n59r) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testl1q0n59r), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testl1q0n59r'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_split_window_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_testjnxkdlgp) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjnxkdlgp), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjnxkdlgp'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_attached_pane_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_testkj4iam3n) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testkj4iam3n), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testkj4iam3n'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_select_window_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_testocmkr8d9) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testocmkr8d9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testocmkr8d9'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_kill_window_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_testtxdakmfr) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtxdakmfr), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testtxdakmfr'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_set_window_option_emits_deprecation_warning ______ request = > session_params = {}, server = Server(socket_name=libtmux_testxhfs8b7n) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testxhfs8b7n), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testxhfs8b7n'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_show_window_options_emits_deprecation_warning _____ request = > session_params = {}, server = Server(socket_name=libtmux_test04cs75ge) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test04cs75ge), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test04cs75ge'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_show_window_option_emits_deprecation_warning ______ request = > session_params = {}, server = Server(socket_name=libtmux_testf7p8w9x_) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testf7p8w9x_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testf7p8w9x_'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_window_get_raises_deprecated_error ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testjo8zeac4) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjo8zeac4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjo8zeac4'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_window_getitem_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_test0anlm24g) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test0anlm24g), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test0anlm24g'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_window_get_by_id_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_test3vd9o4q1) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3vd9o4q1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test3vd9o4q1'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_window_where_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_testwyc64do_) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwyc64do_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwyc64do_'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_window_find_where_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_testael8trfw) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testael8trfw), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testael8trfw'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_window_list_panes_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_test8s7lc2k3) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test8s7lc2k3), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8s7lc2k3'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_window_children_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_testzrn6_gyh) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzrn6_gyh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzrn6_gyh'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_window__panes_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_testijzndok1) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testijzndok1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testijzndok1'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_window__list_panes_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_testd74ytsw_) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testd74ytsw_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testd74ytsw_'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_get_test_window_name_doctest_examples _________ request = > session_params = {}, server = Server(socket_name=libtmux_testmzl7qw8j) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmzl7qw8j), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testmzl7qw8j'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_get_test_window_name_default_prefix __________ request = > session_params = {}, server = Server(socket_name=libtmux_testl15j0c8i) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testl15j0c8i), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testl15j0c8i'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_get_test_window_name_custom_prefix ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testntyr7z3j) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testntyr7z3j), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testntyr7z3j'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_get_test_window_name_loop_behavior ___________ request = > session_params = {}, server = Server(socket_name=libtmux_test7xpg_q89) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test7xpg_q89), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test7xpg_q89'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_collisions_with_real_objects ______________ request = > session_params = {}, server = Server(socket_name=libtmux_test09zf5lep) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test09zf5lep), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test09zf5lep'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_get_test_window_name_collision_handling ________ request = > session_params = {}, server = Server(socket_name=libtmux_test3dt64rq0) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3dt64rq0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test3dt64rq0'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_get_test_window_name_branch_coverage __________ request = > session_params = {}, server = Server(socket_name=libtmux_testjyz7kdfv) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjyz7kdfv), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjyz7kdfv'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_temp_window_creates_and_destroys ____________ request = > session_params = {}, server = Server(socket_name=libtmux_test4izo2qun) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4izo2qun), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4izo2qun'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________ ERROR at setup of test_temp_window_with_name _________________ request = > session_params = {}, server = Server(socket_name=libtmux_testctbjn8oe) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testctbjn8oe), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testctbjn8oe'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_temp_window_cleanup_on_exception ____________ request = > session_params = {}, server = Server(socket_name=libtmux_test357knipt) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test357knipt), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test357knipt'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ ERROR at setup of test_temp_window_outside_context ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testn7fmzqi8) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testn7fmzqi8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testn7fmzqi8'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_tmux_cmd_unicode ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testujkbezp1) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testujkbezp1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testujkbezp1'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________________ ERROR at setup of test_querylist _______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testdf2j09yz) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdf2j09yz), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdf2j09yz'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___ ERROR at setup of test_show_option_g_parameter_emits_deprecation_warning ___ request = > session_params = {}, server = Server(socket_name=libtmux_testoytwml3s) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testoytwml3s), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testoytwml3s'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___ ERROR at setup of test_show_option_indexed_array[indexed_returns_value] ____ request = > session_params = {}, server = Server(socket_name=libtmux_testo4qsnfk5) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testo4qsnfk5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testo4qsnfk5'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _ ERROR at setup of test_show_option_indexed_array[base_name_returns_sparse_array] _ request = > session_params = {}, server = Server(socket_name=libtmux_testu8o7fyas) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testu8o7fyas), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testu8o7fyas'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________________ ERROR at setup of test_send_keys _______________________ request = > session_params = {}, server = Server(socket_name=libtmux_test608hyv4k) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test608hyv4k), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test608hyv4k'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_set_height _______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testy2xb6qr7) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testy2xb6qr7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy2xb6qr7'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________________ ERROR at setup of test_set_width _______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testcts5n24z) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testcts5n24z), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testcts5n24z'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ ERROR at setup of test_capture_pane ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testiv0o9snd) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testiv0o9snd), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testiv0o9snd'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_capture_pane_end ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testpad5cv47) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpad5cv47), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpad5cv47'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ ERROR at setup of test_pane_split_window_zoom _________________ request = > session_params = {}, server = Server(socket_name=libtmux_testxev8fq7_) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testxev8fq7_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testxev8fq7_'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________________ ERROR at setup of test_resize _________________________ request = >, session_params = {} server = Server(socket_name=libtmux_testn4gqh7z8) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testn4gqh7z8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testn4gqh7z8'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ ERROR at setup of test_split_pane_size ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_test6dm3v5kn) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6dm3v5kn), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6dm3v5kn'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________ ERROR at setup of test_pane_context_manager __________________ request = > session_params = {}, server = Server(socket_name=libtmux_test5zcud97v) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test5zcud97v), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5zcud97v'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_split_start_directory[none_value] ___________ request = > session_params = {}, server = Server(socket_name=libtmux_test2lx1d7uw) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test2lx1d7uw), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2lx1d7uw'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_split_start_directory[empty_string] __________ request = > session_params = {}, server = Server(socket_name=libtmux_testbz0ge4_5) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbz0ge4_5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbz0ge4_5'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_split_start_directory[user_path] ____________ request = > session_params = {}, server = Server(socket_name=libtmux_testedpqukt6) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testedpqukt6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testedpqukt6'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_split_start_directory[relative_path] __________ request = > session_params = {}, server = Server(socket_name=libtmux_testdph2k8_7) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdph2k8_7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdph2k8_7'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_split_start_directory_pathlib _____________ request = > session_params = {}, server = Server(socket_name=libtmux_testbix8o25w) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbix8o25w), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbix8o25w'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_capture_pane_flags[basic_capture] ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testiutrfedm) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testiutrfedm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testiutrfedm'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_capture_pane_flags[basic_multiline] __________ request = > session_params = {}, server = Server(socket_name=libtmux_testvt5xgbki) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testvt5xgbki), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvt5xgbki'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_capture_pane_flags[escape_sequences_red] ________ request = > session_params = {}, server = Server(socket_name=libtmux_testvqxinswz) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testvqxinswz), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvqxinswz'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_capture_pane_flags[escape_sequences_green] _______ request = > session_params = {}, server = Server(socket_name=libtmux_test8o1tkqum) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test8o1tkqum), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8o1tkqum'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_capture_pane_flags[escape_sequences_bold] _______ request = > session_params = {}, server = Server(socket_name=libtmux_testeorn_ic9) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testeorn_ic9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testeorn_ic9'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_capture_pane_flags[no_escape_sequences] ________ request = > session_params = {}, server = Server(socket_name=libtmux_testj36_hzfi) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testj36_hzfi), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testj36_hzfi'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____ ERROR at setup of test_capture_pane_flags[escape_non_printable_basic] _____ request = > session_params = {}, server = Server(socket_name=libtmux_testmqz2wh9k) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmqz2wh9k), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testmqz2wh9k'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_capture_pane_flags[escape_non_printable_tab] ______ request = > session_params = {}, server = Server(socket_name=libtmux_testyqz5a8uh) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testyqz5a8uh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testyqz5a8uh'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_capture_pane_flags[join_wrapped_long_line] _______ request = > session_params = {}, server = Server(socket_name=libtmux_test_6q5w2i7) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_6q5w2i7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_6q5w2i7'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_capture_pane_flags[preserve_trailing_spaces] ______ request = > session_params = {}, server = Server(socket_name=libtmux_test2d93m10y) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test2d93m10y), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2d93m10y'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_capture_pane_flags[no_preserve_trailing] ________ request = > session_params = {}, server = Server(socket_name=libtmux_test2kabu0rx) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test2kabu0rx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2kabu0rx'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_capture_pane_flags[trim_trailing_basic] ________ request = > session_params = {}, server = Server(socket_name=libtmux_testo4lxvd2f) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testo4lxvd2f), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testo4lxvd2f'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____ ERROR at setup of test_capture_pane_flags[escape_sequences_with_join] _____ request = > session_params = {}, server = Server(socket_name=libtmux_test7xogt5_z) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test7xogt5_z), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test7xogt5_z'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____ ERROR at setup of test_capture_pane_flags[join_with_preserve_trailing] ____ request = > session_params = {}, server = Server(socket_name=libtmux_test10_fvmle) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test10_fvmle), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test10_fvmle'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_capture_pane_flags[all_flags_except_trim] _______ request = > session_params = {}, server = Server(socket_name=libtmux_testabhedvr8) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testabhedvr8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testabhedvr8'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_capture_pane_backward_compatible ____________ request = > session_params = {}, server = Server(socket_name=libtmux_testwvjylktu) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwvjylktu), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwvjylktu'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_capture_pane_start_end_with_flags ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testng6ks3_1) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testng6ks3_1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testng6ks3_1'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_capture_pane_trim_trailing_warning ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testtq1rlais) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtq1rlais), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testtq1rlais'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_has_session ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_test6ngums1v) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6ngums1v), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6ngums1v'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________________ ERROR at setup of test_getenv _________________________ request = >, session_params = {} server = Server(socket_name=libtmux_testzo_pe5q8) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzo_pe5q8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzo_pe5q8'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_has_session ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_test5dqc9b0w) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test5dqc9b0w), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5dqc9b0w'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ ERROR at setup of test_select_window _____________________ request = > session_params = {}, server = Server(socket_name=libtmux_test6hva5i8t) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6hva5i8t), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6hva5i8t'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_select_window_returns_Window ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testy5k83xoa) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testy5k83xoa), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy5k83xoa'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ ERROR at setup of test_active_window _____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testgvi9z4xu) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgvi9z4xu), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testgvi9z4xu'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_active_pane ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testuyso12fl) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testuyso12fl), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testuyso12fl'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ ERROR at setup of test_session_rename _____________________ request = > session_params = {}, server = Server(socket_name=libtmux_test8zpj2wsf) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test8zpj2wsf), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8zpj2wsf'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ ERROR at setup of test_show_options ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testepx30hrj) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testepx30hrj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testepx30hrj'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ ERROR at setup of test_set_show_options_single ________________ request = > session_params = {}, server = Server(socket_name=libtmux_testb3mwf59j) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testb3mwf59j), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testb3mwf59j'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ ERROR at setup of test_set_show_option ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testh47o9umi) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testh47o9umi), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testh47o9umi'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_empty_session_option_returns_None ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testbfgk8ldx) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbfgk8ldx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbfgk8ldx'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________ ERROR at setup of test_show_option_unknown __________________ request = > session_params = {}, server = Server(socket_name=libtmux_testfjmxsp3t) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfjmxsp3t), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testfjmxsp3t'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________ ERROR at setup of test_show_option_ambiguous _________________ request = > session_params = {}, server = Server(socket_name=libtmux_testbcs5ah8z) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbcs5ah8z), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbcs5ah8z'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________ ERROR at setup of test_set_option_ambiguous __________________ request = > session_params = {}, server = Server(socket_name=libtmux_test6o1nl0f3) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6o1nl0f3), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6o1nl0f3'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________ ERROR at setup of test_set_option_invalid ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_testdi_jx067) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdi_jx067), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdi_jx067'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_show_environment ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testarifkd9y) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testarifkd9y), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testarifkd9y'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ ERROR at setup of test_set_show_environment_single ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testlrehbkit) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testlrehbkit), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testlrehbkit'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ ERROR at setup of test_show_environment_not_set ________________ request = > session_params = {}, server = Server(socket_name=libtmux_testpx574uwz) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpx574uwz), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpx574uwz'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________ ERROR at setup of test_remove_environment ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_testb0cjfyw4) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testb0cjfyw4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testb0cjfyw4'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_unset_environment ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_test_52iqkor) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_52iqkor), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_52iqkor'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____ ERROR at setup of test_periods_raise_bad_session_name[period_in_name] _____ request = > session_params = {}, server = Server(socket_name=libtmux_test5c30s_r1) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test5c30s_r1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5c30s_r1'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_periods_raise_bad_session_name[colon_in_name] _____ request = > session_params = {}, server = Server(socket_name=libtmux_test3o94uays) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3o94uays), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test3o94uays'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_periods_raise_bad_session_name[valid_name] _______ request = > session_params = {}, server = Server(socket_name=libtmux_testlnh52gs8) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testlnh52gs8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testlnh52gs8'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ ERROR at setup of test_cmd_inserts_session_id _________________ request = > session_params = {}, server = Server(socket_name=libtmux_test8dubxr9e) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test8dubxr9e), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8dubxr9e'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_new_window_with_environment[single_env_var] ______ request = > session_params = {}, server = Server(socket_name=libtmux_testxe0zi87g) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testxe0zi87g), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testxe0zi87g'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____ ERROR at setup of test_new_window_with_environment[multiple_env_vars] _____ request = > session_params = {}, server = Server(socket_name=libtmux_testqgmyp2sf) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testqgmyp2sf), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testqgmyp2sf'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_session_new_window_with_direction ___________ request = > session_params = {}, server = Server(socket_name=libtmux_test5d9ysqfx) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test5d9ysqfx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5d9ysqfx'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_new_window_start_directory[none_value] _________ request = > session_params = {}, server = Server(socket_name=libtmux_test4j9myhk1) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4j9myhk1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4j9myhk1'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_new_window_start_directory[empty_string] ________ request = > session_params = {}, server = Server(socket_name=libtmux_testzhro86a9) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzhro86a9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzhro86a9'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_new_window_start_directory[user_path] _________ request = > session_params = {}, server = Server(socket_name=libtmux_testvl3xqf4o) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testvl3xqf4o), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvl3xqf4o'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_new_window_start_directory[relative_path] _______ request = > session_params = {}, server = Server(socket_name=libtmux_test8s62od04) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test8s62od04), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8s62od04'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_new_window_start_directory_pathlib ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testy9wm4lfr) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testy9wm4lfr), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy9wm4lfr'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_find_where _______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testiqm7_1ts) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testiqm7_1ts), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testiqm7_1ts'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ ERROR at setup of test_find_where_None ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testwzxjuhgv) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwzxjuhgv), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwzxjuhgv'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ ERROR at setup of test_find_where_multiple_infos _______________ request = > session_params = {}, server = Server(socket_name=libtmux_testml0sqc_j) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testml0sqc_j), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testml0sqc_j'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ ERROR at setup of test_where _________________________ request = >, session_params = {} server = Server(socket_name=libtmux_testrpsdv62n) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testrpsdv62n), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrpsdv62n'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ ERROR at setup of test_select_window _____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testkzhas58l) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testkzhas58l), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testkzhas58l'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_fresh_window_data ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_testlp0zqx4f) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testlp0zqx4f), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testlp0zqx4f'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_newest_pane_data ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testzdq4xwuy) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzdq4xwuy), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzdq4xwuy'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_active_pane ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_test95oidayp) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test95oidayp), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test95oidayp'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ ERROR at setup of test_split _________________________ request = >, session_params = {} server = Server(socket_name=libtmux_test9m37qv8r) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test9m37qv8r), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test9m37qv8r'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_split_shell ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testxi2fqdo5) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testxi2fqdo5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testxi2fqdo5'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_split_horizontal ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_test6lbd3_r9) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6lbd3_r9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6lbd3_r9'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_split_size _______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testt8rz0p1x) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testt8rz0p1x), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testt8rz0p1x'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_window_rename[rename_with_spaces] ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testj6bhly7p) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testj6bhly7p), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testj6bhly7p'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_window_rename[rename_with_escapes] ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testfiz236r9) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfiz236r9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testfiz236r9'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_kill_window ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testpta79fvx) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpta79fvx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpta79fvx'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________ ERROR at setup of test_show_window_options __________________ request = > session_params = {}, server = Server(socket_name=libtmux_test52nock0l) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test52nock0l), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test52nock0l'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_set_window_and_show_window_options ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testh5wr_468) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testh5wr_468), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testh5wr_468'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ ERROR at setup of test_set_and_show_window_options ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testbm8a3w4e) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbm8a3w4e), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbm8a3w4e'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_empty_window_option_returns_None ____________ request = > session_params = {}, server = Server(socket_name=libtmux_testpufrsz5b) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpufrsz5b), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpufrsz5b'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________ ERROR at setup of test_show_window_option ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_testbuycnej5) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbuycnej5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbuycnej5'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ ERROR at setup of test_show_window_option_unknown _______________ request = > session_params = {}, server = Server(socket_name=libtmux_test6uc9z_wo) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6uc9z_wo), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6uc9z_wo'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_show_window_option_ambiguous ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testy5wuxlh3) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testy5wuxlh3), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy5wuxlh3'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ ERROR at setup of test_set_window_option_ambiguous ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testy4hf7ilk) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testy4hf7ilk), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy4hf7ilk'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ ERROR at setup of test_set_window_option_invalid _______________ request = > session_params = {}, server = Server(socket_name=libtmux_test04kfbcrn) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test04kfbcrn), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test04kfbcrn'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_move_window ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testy5hn6jfg) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testy5hn6jfg), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy5hn6jfg'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_move_window_to_other_session ______________ request = > session_params = {}, server = Server(socket_name=libtmux_teste8gzpvms) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_teste8gzpvms), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_teste8gzpvms'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_select_layout_accepts_no_arg ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testqrvox8b2) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testqrvox8b2), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testqrvox8b2'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_empty_window_name ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_testpxmokzbj) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpxmokzbj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpxmokzbj'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_split_with_environment[single_env_var] _________ request = > session_params = {}, server = Server(socket_name=libtmux_testh6cvnoel) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testh6cvnoel), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testh6cvnoel'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_split_with_environment[multiple_env_vars] _______ request = > session_params = {}, server = Server(socket_name=libtmux_testdk93o5e4) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdk93o5e4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdk93o5e4'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_split_window_zoom ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_testov8ti79s) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testov8ti79s), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testov8ti79s'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________________ ERROR at setup of test_resize _________________________ request = >, session_params = {} server = Server(socket_name=libtmux_testjyfitlhv) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjyfitlhv), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjyfitlhv'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ ERROR at setup of test_new_window_with_direction _______________ request = > session_params = {}, server = Server(socket_name=libtmux_test_1yxwudl) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_1yxwudl), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_1yxwudl'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ ERROR at setup of test_window_context_manager _________________ request = > session_params = {}, server = Server(socket_name=libtmux_testws0f7xte) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testws0f7xte), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testws0f7xte'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_split_start_directory[none_value] ___________ request = > session_params = {}, server = Server(socket_name=libtmux_test2frnwpqj) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test2frnwpqj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2frnwpqj'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_split_start_directory[empty_string] __________ request = > session_params = {}, server = Server(socket_name=libtmux_testjxv_puks) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjxv_puks), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjxv_puks'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_split_start_directory[user_path] ____________ request = > session_params = {}, server = Server(socket_name=libtmux_testau7gxb5j) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testau7gxb5j), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testau7gxb5j'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_split_start_directory[relative_path] __________ request = > session_params = {}, server = Server(socket_name=libtmux_testf3pzdkoa) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testf3pzdkoa), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testf3pzdkoa'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_split_start_directory_pathlib _____________ request = > session_params = {}, server = Server(socket_name=libtmux_testf41qbanm) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testf41qbanm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testf41qbanm'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _ ERROR at setup of test_deprecated_window_methods_emit_warning[set_window_option] _ request = > session_params = {}, server = Server(socket_name=libtmux_test8vzdko7m) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test8vzdko7m), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8vzdko7m'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _ ERROR at setup of test_deprecated_window_methods_emit_warning[show_window_options] _ request = > session_params = {}, server = Server(socket_name=libtmux_testjpufm17w) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjpufm17w), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjpufm17w'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _ ERROR at setup of test_deprecated_window_methods_emit_warning[show_window_option] _ request = > session_params = {}, server = Server(socket_name=libtmux_testdn10hl5y) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdn10hl5y), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdn10hl5y'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException =================================== FAILURES =================================== __________________ test_kill_session_raises_deprecated_error ___________________ server = Server(socket_name=libtmux_test4ax1c7lt) def test_kill_session_raises_deprecated_error(server: Server) -> None: """Test Session.kill_session() raises exc.DeprecatedError.""" # Create a new session to kill (so we don't kill our test session) > new_session = server.new_session(session_name="test_kill_session", detach=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/legacy_api/test_session.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4ax1c7lt), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4ax1c7lt'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ test_get_test_session_name_loop_behavior ___________________ server = Server(socket_name=libtmux_testge5u8q1f) def test_get_test_session_name_loop_behavior( server: Server, ) -> None: """Test the loop behavior in get_test_session_name using real sessions.""" # Get a first session name first_name = get_test_session_name(server=server) # Create this session to trigger the loop behavior > with server.new_session(first_name): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test/test_random.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testge5u8q1f), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testge5u8q1f'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_get_test_session_name_implementation_details _______________ server = Server(socket_name=libtmux_testgzj3uxep) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe9c2313ee0> def test_get_test_session_name_implementation_details( server: Server, monkeypatch: MonkeyPatch, ) -> None: """Test specific implementation details of get_test_session_name function.""" # Create a session with a name that will cause a collision # This will test the while loop behavior (Lines 56-59) prefix = "collision_prefix_" first_random = next(namer) # Create a session that will match our first attempt inside get_test_session_name collision_name = prefix + first_random # Create a real session to force a collision > with server.new_session(collision_name): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test/test_random.py:569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgzj3uxep), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testgzj3uxep'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ test_temp_session_creates_and_destroys ____________________ server = Server(socket_name=libtmux_testdazluxqv) def test_temp_session_creates_and_destroys(server: Server) -> None: """Test that temp_session creates and destroys a session.""" > with temp_session(server) as session: ^^^^^^^^^^^^^^^^^^^^ tests/test/test_temporary.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/contextlib.py:141: in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ test_dir/usr/lib/python3.14/site-packages/libtmux/test/temporary.py:66: in temp_session session = server.new_session(session_name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdazluxqv), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdazluxqv'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ test_temp_session_with_name __________________________ server = Server(socket_name=libtmux_test1idrmtnh) def test_temp_session_with_name(server: Server) -> None: """Test temp_session with a provided session name.""" session_name = "test_session" > with temp_session(server, session_name=session_name) as session: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test/test_temporary.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/contextlib.py:141: in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ test_dir/usr/lib/python3.14/site-packages/libtmux/test/temporary.py:66: in temp_session session = server.new_session(session_name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test1idrmtnh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test1idrmtnh'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ test_temp_session_cleanup_on_exception ____________________ server = Server(socket_name=libtmux_testvzs8o0p5) def test_temp_session_cleanup_on_exception(server: Server) -> None: """Test that temp_session cleans up even when an exception occurs.""" test_error = RuntimeError() session_name = None > with pytest.raises(RuntimeError), temp_session(server) as session: ^^^^^^^^^^^^^^^^^^^^ tests/test/test_temporary.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/contextlib.py:141: in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ test_dir/usr/lib/python3.14/site-packages/libtmux/test/temporary.py:66: in temp_session session = server.new_session(session_name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testvzs8o0p5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvzs8o0p5'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ test_temp_session_outside_context _______________________ server = Server(socket_name=libtmux_testvesu4591) def test_temp_session_outside_context(server: Server) -> None: """Test that temp_session's finally block handles a session already killed.""" session_name = None > with temp_session(server) as session: ^^^^^^^^^^^^^^^^^^^^ tests/test/test_temporary.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/contextlib.py:141: in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ test_dir/usr/lib/python3.14/site-packages/libtmux/test/temporary.py:66: in temp_session session = server.new_session(session_name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testvesu4591), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvesu4591'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________________________ test_pane ___________________________________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe9c2610600> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_pane0') server = Server(socket_name=libtmux_test21aqetsd) def test_pane( monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path, server: Server, ) -> None: """Verify Pane dataclass object.""" monkeypatch.chdir(tmp_path) try: > session_ = server.sessions[0] ^^^^^^^^^^^^^^^^^^ E IndexError: list index out of range /build/python-libtmux/src/libtmux-0.53.0/tests/test_dataclasses.py:41: IndexError During handling of the above exception, another exception occurred: monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe9c2610600> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_pane0') server = Server(socket_name=libtmux_test21aqetsd) def test_pane( monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path, server: Server, ) -> None: """Verify Pane dataclass object.""" monkeypatch.chdir(tmp_path) try: session_ = server.sessions[0] except Exception: > session_ = server.new_session() ^^^^^^^^^^^^^^^^^^^^ /build/python-libtmux/src/libtmux-0.53.0/tests/test_dataclasses.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test21aqetsd), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test21aqetsd'] /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________________ test_hooks_raw_cmd ______________________________ server = Server(socket_name=libtmux_test4rdzei5_) def test_hooks_raw_cmd( server: Server, ) -> None: """Raw hook set, show, unset via cmd.""" > session = server.new_session(session_name="test hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4rdzei5_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4rdzei5_'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________________ test_hooks_dataclass _____________________________ server = Server(socket_name=libtmux_testsqyfr0_a) def test_hooks_dataclass( server: Server, ) -> None: """Tests for hooks dataclass.""" > session = server.new_session(session_name="test hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:200: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testsqyfr0_a), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testsqyfr0_a'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________________________ test_hooks_mixin _______________________________ server = Server(socket_name=libtmux_test5ck2uylm) def test_hooks_mixin( server: Server, ) -> None: """Tests for hooks.""" > session = server.new_session(session_name="test hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test5ck2uylm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5ck2uylm'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[alert_activity] ________________ server = Server(socket_name=libtmux_testj7ksyg9m) test_case = HookTestCase(test_id='alert_activity', hook='alert-activity', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testj7ksyg9m), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testj7ksyg9m'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________ test_hook_set_show_unset_cycle[alert_bell] __________________ server = Server(socket_name=libtmux_testadqrz73y) test_case = HookTestCase(test_id='alert_bell', hook='alert-bell', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testadqrz73y), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testadqrz73y'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[alert_silence] _________________ server = Server(socket_name=libtmux_test89rb6jv1) test_case = HookTestCase(test_id='alert_silence', hook='alert-silence', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test89rb6jv1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test89rb6jv1'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[client_active] _________________ server = Server(socket_name=libtmux_testx5dnjq_8) test_case = HookTestCase(test_id='client_active', hook='client-active', min_version='3.3', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testx5dnjq_8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testx5dnjq_8'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[client_attached] ________________ server = Server(socket_name=libtmux_testz6f3w5ck) test_case = HookTestCase(test_id='client_attached', hook='client-attached', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testz6f3w5ck), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testz6f3w5ck'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[client_detached] ________________ server = Server(socket_name=libtmux_testwpc2labk) test_case = HookTestCase(test_id='client_detached', hook='client-detached', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwpc2labk), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwpc2labk'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[client_focus_in] ________________ server = Server(socket_name=libtmux_testeyl0cmop) test_case = HookTestCase(test_id='client_focus_in', hook='client-focus-in', min_version='3.3', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testeyl0cmop), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testeyl0cmop'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[client_focus_out] _______________ server = Server(socket_name=libtmux_testz72jdlpx) test_case = HookTestCase(test_id='client_focus_out', hook='client-focus-out', min_version='3.3', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testz72jdlpx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testz72jdlpx'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[client_resized] ________________ server = Server(socket_name=libtmux_testj25gh1xt) test_case = HookTestCase(test_id='client_resized', hook='client-resized', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testj25gh1xt), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testj25gh1xt'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_hook_set_show_unset_cycle[client_session_changed] ____________ server = Server(socket_name=libtmux_testo6kdreh4) test_case = HookTestCase(test_id='client_session_changed', hook='client-session-changed', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testo6kdreh4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testo6kdreh4'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[session_created] ________________ server = Server(socket_name=libtmux_test71kmfpzs) test_case = HookTestCase(test_id='session_created', hook='session-created', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test71kmfpzs), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test71kmfpzs'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[session_closed] ________________ server = Server(socket_name=libtmux_testg69f58b_) test_case = HookTestCase(test_id='session_closed', hook='session-closed', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testg69f58b_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testg69f58b_'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[session_renamed] ________________ server = Server(socket_name=libtmux_testp3yzfgw1) test_case = HookTestCase(test_id='session_renamed', hook='session-renamed', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testp3yzfgw1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testp3yzfgw1'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[window_linked] _________________ server = Server(socket_name=libtmux_testqpu_ztea) test_case = HookTestCase(test_id='window_linked', hook='window-linked', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testqpu_ztea), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testqpu_ztea'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[window_renamed] ________________ server = Server(socket_name=libtmux_testjn1fag6b) test_case = HookTestCase(test_id='window_renamed', hook='window-renamed', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjn1fag6b), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjn1fag6b'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[window_resized] ________________ server = Server(socket_name=libtmux_test34nqfy69) test_case = HookTestCase(test_id='window_resized', hook='window-resized', min_version='3.3', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test34nqfy69), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test34nqfy69'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[window_unlinked] ________________ server = Server(socket_name=libtmux_testgv5bw4zy) test_case = HookTestCase(test_id='window_unlinked', hook='window-unlinked', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgv5bw4zy), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testgv5bw4zy'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_hook_set_show_unset_cycle[session_window_changed] ____________ server = Server(socket_name=libtmux_test5_8pyw9x) test_case = HookTestCase(test_id='session_window_changed', hook='session-window-changed', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test5_8pyw9x), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5_8pyw9x'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________ test_hook_set_show_unset_cycle[pane_died] ___________________ server = Server(socket_name=libtmux_testsp4rq27u) test_case = HookTestCase(test_id='pane_died', hook='pane-died', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testsp4rq27u), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testsp4rq27u'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_hook_set_show_unset_cycle[pane_exited] __________________ server = Server(socket_name=libtmux_testnv23ljci) test_case = HookTestCase(test_id='pane_exited', hook='pane-exited', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testnv23ljci), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testnv23ljci'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[pane_focus_in] _________________ server = Server(socket_name=libtmux_test4m5k1x0y) test_case = HookTestCase(test_id='pane_focus_in', hook='pane-focus-in', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4m5k1x0y), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4m5k1x0y'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[pane_focus_out] ________________ server = Server(socket_name=libtmux_testw4h1o7tu) test_case = HookTestCase(test_id='pane_focus_out', hook='pane-focus-out', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testw4h1o7tu), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testw4h1o7tu'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[pane_mode_changed] _______________ server = Server(socket_name=libtmux_testf48qg07n) test_case = HookTestCase(test_id='pane_mode_changed', hook='pane-mode-changed', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testf48qg07n), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testf48qg07n'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[pane_set_clipboard] ______________ server = Server(socket_name=libtmux_test5k7lznxh) test_case = HookTestCase(test_id='pane_set_clipboard', hook='pane-set-clipboard', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test5k7lznxh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5k7lznxh'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[after_bind_key] ________________ server = Server(socket_name=libtmux_test05lmcoaq) test_case = HookTestCase(test_id='after_bind_key', hook='after-bind-key', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test05lmcoaq), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test05lmcoaq'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_capture_pane] ______________ server = Server(socket_name=libtmux_testwnbh9432) test_case = HookTestCase(test_id='after_capture_pane', hook='after-capture-pane', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwnbh9432), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwnbh9432'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_copy_mode] ________________ server = Server(socket_name=libtmux_testwaxzpom8) test_case = HookTestCase(test_id='after_copy_mode', hook='after-copy-mode', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwaxzpom8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwaxzpom8'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_hook_set_show_unset_cycle[after_display_message] _____________ server = Server(socket_name=libtmux_testojau0e1s) test_case = HookTestCase(test_id='after_display_message', hook='after-display-message', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testojau0e1s), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testojau0e1s'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_display_panes] ______________ server = Server(socket_name=libtmux_test6w2op0xf) test_case = HookTestCase(test_id='after_display_panes', hook='after-display-panes', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6w2op0xf), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6w2op0xf'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_kill_pane] ________________ server = Server(socket_name=libtmux_testp_xoz49j) test_case = HookTestCase(test_id='after_kill_pane', hook='after-kill-pane', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testp_xoz49j), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testp_xoz49j'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_list_buffers] ______________ server = Server(socket_name=libtmux_test1tj6pke2) test_case = HookTestCase(test_id='after_list_buffers', hook='after-list-buffers', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test1tj6pke2), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test1tj6pke2'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_list_clients] ______________ server = Server(socket_name=libtmux_testsci1o9tu) test_case = HookTestCase(test_id='after_list_clients', hook='after-list-clients', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testsci1o9tu), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testsci1o9tu'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_list_keys] ________________ server = Server(socket_name=libtmux_testztyci4wd) test_case = HookTestCase(test_id='after_list_keys', hook='after-list-keys', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testztyci4wd), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testztyci4wd'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_list_panes] _______________ server = Server(socket_name=libtmux_testv8jzysu3) test_case = HookTestCase(test_id='after_list_panes', hook='after-list-panes', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testv8jzysu3), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testv8jzysu3'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_list_sessions] ______________ server = Server(socket_name=libtmux_test_g7pnl3b) test_case = HookTestCase(test_id='after_list_sessions', hook='after-list-sessions', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_g7pnl3b), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_g7pnl3b'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_list_windows] ______________ server = Server(socket_name=libtmux_testrdg3xa7s) test_case = HookTestCase(test_id='after_list_windows', hook='after-list-windows', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testrdg3xa7s), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrdg3xa7s'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_load_buffer] _______________ server = Server(socket_name=libtmux_testb75c4wlf) test_case = HookTestCase(test_id='after_load_buffer', hook='after-load-buffer', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testb75c4wlf), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testb75c4wlf'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_lock_server] _______________ server = Server(socket_name=libtmux_test6eb7aq39) test_case = HookTestCase(test_id='after_lock_server', hook='after-lock-server', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6eb7aq39), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6eb7aq39'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_new_session] _______________ server = Server(socket_name=libtmux_test345pf6rh) test_case = HookTestCase(test_id='after_new_session', hook='after-new-session', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test345pf6rh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test345pf6rh'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_new_window] _______________ server = Server(socket_name=libtmux_testvmifwk6h) test_case = HookTestCase(test_id='after_new_window', hook='after-new-window', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testvmifwk6h), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvmifwk6h'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_paste_buffer] ______________ server = Server(socket_name=libtmux_test80srpqnm) test_case = HookTestCase(test_id='after_paste_buffer', hook='after-paste-buffer', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test80srpqnm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test80srpqnm'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_pipe_pane] ________________ server = Server(socket_name=libtmux_test9un85cgv) test_case = HookTestCase(test_id='after_pipe_pane', hook='after-pipe-pane', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test9un85cgv), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test9un85cgv'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_hook_set_show_unset_cycle[after_queue] __________________ server = Server(socket_name=libtmux_testz2qcw7lk) test_case = HookTestCase(test_id='after_queue', hook='after-queue', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testz2qcw7lk), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testz2qcw7lk'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_refresh_client] _____________ server = Server(socket_name=libtmux_testwdu5304p) test_case = HookTestCase(test_id='after_refresh_client', hook='after-refresh-client', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwdu5304p), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwdu5304p'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_rename_session] _____________ server = Server(socket_name=libtmux_test4xszo0yw) test_case = HookTestCase(test_id='after_rename_session', hook='after-rename-session', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4xszo0yw), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4xszo0yw'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_rename_window] ______________ server = Server(socket_name=libtmux_test6qgyu_s5) test_case = HookTestCase(test_id='after_rename_window', hook='after-rename-window', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6qgyu_s5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6qgyu_s5'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_resize_pane] _______________ server = Server(socket_name=libtmux_testuzkn_jds) test_case = HookTestCase(test_id='after_resize_pane', hook='after-resize-pane', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testuzkn_jds), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testuzkn_jds'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_resize_window] ______________ server = Server(socket_name=libtmux_testl7fyi3zp) test_case = HookTestCase(test_id='after_resize_window', hook='after-resize-window', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testl7fyi3zp), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testl7fyi3zp'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_save_buffer] _______________ server = Server(socket_name=libtmux_test5ckb4tvo) test_case = HookTestCase(test_id='after_save_buffer', hook='after-save-buffer', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test5ckb4tvo), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5ckb4tvo'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_select_layout] ______________ server = Server(socket_name=libtmux_testg0kovd3r) test_case = HookTestCase(test_id='after_select_layout', hook='after-select-layout', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testg0kovd3r), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testg0kovd3r'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_select_pane] _______________ server = Server(socket_name=libtmux_testu3ehjtlb) test_case = HookTestCase(test_id='after_select_pane', hook='after-select-pane', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testu3ehjtlb), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testu3ehjtlb'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_select_window] ______________ server = Server(socket_name=libtmux_testm_qitjnb) test_case = HookTestCase(test_id='after_select_window', hook='after-select-window', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testm_qitjnb), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testm_qitjnb'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_send_keys] ________________ server = Server(socket_name=libtmux_testzy8jvnlq) test_case = HookTestCase(test_id='after_send_keys', hook='after-send-keys', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzy8jvnlq), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzy8jvnlq'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_set_buffer] _______________ server = Server(socket_name=libtmux_test6okh5idt) test_case = HookTestCase(test_id='after_set_buffer', hook='after-set-buffer', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6okh5idt), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6okh5idt'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_hook_set_show_unset_cycle[after_set_environment] _____________ server = Server(socket_name=libtmux_testisfax9r4) test_case = HookTestCase(test_id='after_set_environment', hook='after-set-environment', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testisfax9r4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testisfax9r4'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[after_set_hook] ________________ server = Server(socket_name=libtmux_testwk68uqd7) test_case = HookTestCase(test_id='after_set_hook', hook='after-set-hook', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwk68uqd7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwk68uqd7'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_set_option] _______________ server = Server(socket_name=libtmux_test2owgrq5_) test_case = HookTestCase(test_id='after_set_option', hook='after-set-option', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test2owgrq5_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2owgrq5_'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_hook_set_show_unset_cycle[after_show_environment] ____________ server = Server(socket_name=libtmux_testyx5vo9e0) test_case = HookTestCase(test_id='after_show_environment', hook='after-show-environment', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testyx5vo9e0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testyx5vo9e0'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_show_messages] ______________ server = Server(socket_name=libtmux_testycb8fqs4) test_case = HookTestCase(test_id='after_show_messages', hook='after-show-messages', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testycb8fqs4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testycb8fqs4'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_show_options] ______________ server = Server(socket_name=libtmux_testtaxk7e85) test_case = HookTestCase(test_id='after_show_options', hook='after-show-options', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtaxk7e85), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testtaxk7e85'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_split_window] ______________ server = Server(socket_name=libtmux_testh65ebs74) test_case = HookTestCase(test_id='after_split_window', hook='after-split-window', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testh65ebs74), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testh65ebs74'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_unbind_key] _______________ server = Server(socket_name=libtmux_testc8q4ir7z) test_case = HookTestCase(test_id='after_unbind_key', hook='after-unbind-key', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testc8q4ir7z), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testc8q4ir7z'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_new_hooks_version_gated[pane_title_changed] _______________ server = Server(socket_name=libtmux_testktiwdjpx) test_case = HookTestCase(test_id='pane_title_changed', hook='pane-title-changed', min_version='3.5', xfail_reason=None) @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in NEW_HOOKS], ) def test_new_hooks_version_gated(server: Server, test_case: HookTestCase) -> None: """Test new hooks that require tmux 3.5+. These hooks are version-gated and will skip on older tmux versions. """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_new_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testktiwdjpx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testktiwdjpx'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ test_set_hooks[set_hooks_with_dict] ______________________ server = Server(socket_name=libtmux_testap36yj27) test_case = SetHooksTestCase(test_id='set_hooks_with_dict', hook='session-renamed', setup_hooks={}, operation_args={'values': {0: ...ook 1'", 5: "display-message 'hook 5'"}}, expected_indices=[0, 1, 5], expected_contains=['hook 0', 'hook 1', 'hook 5']) @pytest.mark.parametrize("test_case", _build_set_hooks_params()) def test_set_hooks(server: Server, test_case: SetHooksTestCase) -> None: """Test set_hooks operations.""" > session = server.new_session(session_name="test_set_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testap36yj27), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testap36yj27'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ test_set_hooks[set_hooks_with_list] ______________________ server = Server(socket_name=libtmux_testbnsl5t4g) test_case = SetHooksTestCase(test_id='set_hooks_with_list', hook='session-renamed', setup_hooks={}, operation_args={'values': ["di...hook 0'", "display-message 'hook 1'", "display-message 'hook 2'"]}, expected_indices=[0, 1, 2], expected_contains=None) @pytest.mark.parametrize("test_case", _build_set_hooks_params()) def test_set_hooks(server: Server, test_case: SetHooksTestCase) -> None: """Test set_hooks operations.""" > session = server.new_session(session_name="test_set_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbnsl5t4g), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbnsl5t4g'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ test_set_hooks[set_hooks_clear_existing] ___________________ server = Server(socket_name=libtmux_testicazu19f) test_case = SetHooksTestCase(test_id='set_hooks_clear_existing', hook='session-renamed', setup_hooks={0: "display-message 'old 0'"...={'values': {0: "display-message 'new 0'"}, 'clear_existing': True}, expected_indices=[0], expected_contains=['new 0']) @pytest.mark.parametrize("test_case", _build_set_hooks_params()) def test_set_hooks(server: Server, test_case: SetHooksTestCase) -> None: """Test set_hooks operations.""" > session = server.new_session(session_name="test_set_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testicazu19f), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testicazu19f'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ test_show_hook_returns_sparse_array ______________________ server = Server(socket_name=libtmux_testgpiwj_vo) def test_show_hook_returns_sparse_array(server: Server) -> None: """Test that show_hook returns SparseArray for array hooks.""" > session = server.new_session(session_name="test_show_hook") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgpiwj_vo), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testgpiwj_vo'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _ test_show_hook_indexed_lookup[index_zero-session-renamed-0-display-message 'test zero'] _ server = Server(socket_name=libtmux_testjra2n013), test_id = 'index_zero' hook_name = 'session-renamed', hook_index = 0 hook_value = "display-message 'test zero'" @pytest.mark.parametrize( IndexedHookLookupCase._fields, [ IndexedHookLookupCase( test_id="index_zero", hook_name="session-renamed", hook_index=0, hook_value="display-message 'test zero'", ), IndexedHookLookupCase( test_id="index_five", hook_name="session-renamed", hook_index=5, hook_value="display-message 'test five'", ), IndexedHookLookupCase( test_id="window_hook", hook_name="window-renamed", hook_index=0, hook_value="display-message 'window test'", ), ], ids=lambda x: x.test_id if isinstance(x, IndexedHookLookupCase) else x, ) def test_show_hook_indexed_lookup( server: Server, test_id: str, hook_name: str, hook_index: int, hook_value: str, ) -> None: """Test that show_hook with indexed hook name returns the specific value. Per tmux.1, hooks are array options that can be queried by index. When calling show_hook("session-renamed[0]"), it should return the string value at that index, not a SparseArray. """ > session = server.new_session(session_name="test_indexed_lookup") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:672: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjra2n013), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjra2n013'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _ test_show_hook_indexed_lookup[index_five-session-renamed-5-display-message 'test five'] _ server = Server(socket_name=libtmux_testd53vno41), test_id = 'index_five' hook_name = 'session-renamed', hook_index = 5 hook_value = "display-message 'test five'" @pytest.mark.parametrize( IndexedHookLookupCase._fields, [ IndexedHookLookupCase( test_id="index_zero", hook_name="session-renamed", hook_index=0, hook_value="display-message 'test zero'", ), IndexedHookLookupCase( test_id="index_five", hook_name="session-renamed", hook_index=5, hook_value="display-message 'test five'", ), IndexedHookLookupCase( test_id="window_hook", hook_name="window-renamed", hook_index=0, hook_value="display-message 'window test'", ), ], ids=lambda x: x.test_id if isinstance(x, IndexedHookLookupCase) else x, ) def test_show_hook_indexed_lookup( server: Server, test_id: str, hook_name: str, hook_index: int, hook_value: str, ) -> None: """Test that show_hook with indexed hook name returns the specific value. Per tmux.1, hooks are array options that can be queried by index. When calling show_hook("session-renamed[0]"), it should return the string value at that index, not a SparseArray. """ > session = server.new_session(session_name="test_indexed_lookup") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:672: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testd53vno41), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testd53vno41'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _ test_show_hook_indexed_lookup[window_hook-window-renamed-0-display-message 'window test'] _ server = Server(socket_name=libtmux_testszufnetg), test_id = 'window_hook' hook_name = 'window-renamed', hook_index = 0 hook_value = "display-message 'window test'" @pytest.mark.parametrize( IndexedHookLookupCase._fields, [ IndexedHookLookupCase( test_id="index_zero", hook_name="session-renamed", hook_index=0, hook_value="display-message 'test zero'", ), IndexedHookLookupCase( test_id="index_five", hook_name="session-renamed", hook_index=5, hook_value="display-message 'test five'", ), IndexedHookLookupCase( test_id="window_hook", hook_name="window-renamed", hook_index=0, hook_value="display-message 'window test'", ), ], ids=lambda x: x.test_id if isinstance(x, IndexedHookLookupCase) else x, ) def test_show_hook_indexed_lookup( server: Server, test_id: str, hook_name: str, hook_index: int, hook_value: str, ) -> None: """Test that show_hook with indexed hook name returns the specific value. Per tmux.1, hooks are array options that can be queried by index. When calling show_hook("session-renamed[0]"), it should return the string value at that index, not a SparseArray. """ > session = server.new_session(session_name="test_indexed_lookup") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:672: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testszufnetg), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testszufnetg'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________________ test_set_hooks_with_sparse_array _______________________ server = Server(socket_name=libtmux_testk50tna24) def test_set_hooks_with_sparse_array(server: Server) -> None: """Test set_hooks with SparseArray input.""" > session = server.new_session(session_name="test_set_hooks_sparse") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:696: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testk50tna24), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testk50tna24'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________________ test_set_hooks_method_chaining ________________________ server = Server(socket_name=libtmux_testb67w_pvt) def test_set_hooks_method_chaining(server: Server) -> None: """Test that set_hooks supports method chaining.""" > session = server.new_session(session_name="test_set_hooks_chain") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:715: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testb67w_pvt), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testb67w_pvt'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ test_unset_hook_clears_all_indices ______________________ server = Server(socket_name=libtmux_test_fxvsbnu) def test_unset_hook_clears_all_indices(server: Server) -> None: """Test that unset_hook without index clears all hook indices.""" > session = server.new_session(session_name="test_unset_hook") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:742: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_fxvsbnu), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_fxvsbnu'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________________ test_set_hook_append_flag ___________________________ server = Server(socket_name=libtmux_testxd8lb07v) def test_set_hook_append_flag(server: Server) -> None: """Test set_hook with append=True uses tmux's -a flag.""" > session = server.new_session(session_name="test_append_flag") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:767: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testxd8lb07v), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testxd8lb07v'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ test_show_hooks_stores_string_values[string_hook_value] ____________ server = Server(socket_name=libtmux_testrt4xk8jb) test_case = ShowHooksTestCase(test_id='string_hook_value', hook='session-renamed[0]', value='display-message "test"', expected_value='display-message test', expected_type=, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_hooks_params()) def test_show_hooks_stores_string_values( server: Server, test_case: ShowHooksTestCase, ) -> None: """Test that show_hooks() correctly stores string hook values.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:833: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testrt4xk8jb), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrt4xk8jb'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_show_hooks_stores_string_values[multiple_hooks] _____________ server = Server(socket_name=libtmux_testadu0knjm) test_case = ShowHooksTestCase(test_id='multiple_hooks', hook='session-renamed[1]', value='display-message "another"', expected_value='display-message another', expected_type=, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_hooks_params()) def test_show_hooks_stores_string_values( server: Server, test_case: ShowHooksTestCase, ) -> None: """Test that show_hooks() correctly stores string hook values.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:833: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testadu0knjm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testadu0knjm'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________________ test_run_hook_basic ______________________________ server = Server(socket_name=libtmux_testucypz8qe) def test_run_hook_basic(server: Server) -> None: """Test run_hook() method exists and can be called without error.""" if not has_gte_version("3.2"): pytest.skip("Requires tmux >= 3.2") > session = server.new_session(session_name="test_run_hook") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:856: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testucypz8qe), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testucypz8qe'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_set_hook_flag_combinations[append_to_existing] ______________ server = Server(socket_name=libtmux_testigbsd_3z) test_case = SetHookFlagTestCase(test_id='append_to_existing', flag_kwargs={'append': True}, expected_behavior='appends', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SET_HOOK_FLAG_TEST_CASES], ) def test_set_hook_flag_combinations( server: Server, test_case: SetHookFlagTestCase, ) -> None: """Test set_hook with various flag combinations.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_flags") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:921: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testigbsd_3z), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testigbsd_3z'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_set_hook_flag_combinations[global_hook] _________________ server = Server(socket_name=libtmux_test08ljc5m7) test_case = SetHookFlagTestCase(test_id='global_hook', flag_kwargs={'global_': True}, expected_behavior='global', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SET_HOOK_FLAG_TEST_CASES], ) def test_set_hook_flag_combinations( server: Server, test_case: SetHookFlagTestCase, ) -> None: """Test set_hook with various flag combinations.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_flags") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:921: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test08ljc5m7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test08ljc5m7'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_set_hook_flag_combinations[run_immediately] _______________ server = Server(socket_name=libtmux_testmvzt5ngj) test_case = SetHookFlagTestCase(test_id='run_immediately', flag_kwargs={'run': True}, expected_behavior='runs_immediately', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SET_HOOK_FLAG_TEST_CASES], ) def test_set_hook_flag_combinations( server: Server, test_case: SetHookFlagTestCase, ) -> None: """Test set_hook with various flag combinations.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_flags") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:921: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmvzt5ngj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testmvzt5ngj'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_set_hook_flag_combinations[append_and_global] ______________ server = Server(socket_name=libtmux_testt12m37df) test_case = SetHookFlagTestCase(test_id='append_and_global', flag_kwargs={'append': True, 'global_': True}, expected_behavior='appends', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SET_HOOK_FLAG_TEST_CASES], ) def test_set_hook_flag_combinations( server: Server, test_case: SetHookFlagTestCase, ) -> None: """Test set_hook with various flag combinations.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_flags") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:921: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testt12m37df), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testt12m37df'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ test_hook_scope_handling[session_scope] ____________________ server = Server(socket_name=libtmux_testzxvw2t5y) test_case = HookScopeTestCase(test_id='session_scope', scope='session', scope_flag='', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in HOOK_SCOPE_TEST_CASES], ) def test_hook_scope_handling( server: Server, test_case: HookScopeTestCase, ) -> None: """Test hooks at different scopes (session, window, pane).""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_scope") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1006: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzxvw2t5y), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzxvw2t5y'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ test_hook_scope_handling[window_scope] ____________________ server = Server(socket_name=libtmux_testcismaoxp) test_case = HookScopeTestCase(test_id='window_scope', scope='window', scope_flag='-w', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in HOOK_SCOPE_TEST_CASES], ) def test_hook_scope_handling( server: Server, test_case: HookScopeTestCase, ) -> None: """Test hooks at different scopes (session, window, pane).""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_scope") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1006: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testcismaoxp), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testcismaoxp'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ test_hook_scope_handling[pane_scope] _____________________ server = Server(socket_name=libtmux_testu5e3hats) test_case = HookScopeTestCase(test_id='pane_scope', scope='pane', scope_flag='-p', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in HOOK_SCOPE_TEST_CASES], ) def test_hook_scope_handling( server: Server, test_case: HookScopeTestCase, ) -> None: """Test hooks at different scopes (session, window, pane).""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_scope") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1006: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testu5e3hats), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testu5e3hats'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_show_hooks_parsing_edge_cases[normal_hook_value] _____________ server = Server(socket_name=libtmux_testq_p7mxg5) test_case = ShowHooksParseTestCase(test_id='normal_hook_value', setup_commands=[('session-renamed[0]', "display-message 'test'")], expected_keys=['session-renamed[0]'], check_values=True) @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SHOW_HOOKS_PARSE_TEST_CASES], ) def test_show_hooks_parsing_edge_cases( server: Server, test_case: ShowHooksParseTestCase, ) -> None: """Test show_hooks parses various output formats correctly.""" > session = server.new_session(session_name="test_parsing") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1088: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testq_p7mxg5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testq_p7mxg5'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________ test_show_hooks_parsing_edge_cases[multiple_indexed_hooks] __________ server = Server(socket_name=libtmux_testrgivbdxj) test_case = ShowHooksParseTestCase(test_id='multiple_indexed_hooks', setup_commands=[('session-renamed[0]', "display-message 'firs...essage 'fifth'")], expected_keys=['session-renamed[0]', 'session-renamed[1]', 'session-renamed[5]'], check_values=True) @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SHOW_HOOKS_PARSE_TEST_CASES], ) def test_show_hooks_parsing_edge_cases( server: Server, test_case: ShowHooksParseTestCase, ) -> None: """Test show_hooks parses various output formats correctly.""" > session = server.new_session(session_name="test_parsing") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1088: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testrgivbdxj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrgivbdxj'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ test_show_hooks_parsing_edge_cases[multiple_different_hooks] _________ server = Server(socket_name=libtmux_testgv2c7syx) test_case = ShowHooksParseTestCase(test_id='multiple_different_hooks', setup_commands=[('session-renamed[0]', "display-message 're...dow[0]', "display-message 'split'")], expected_keys=['session-renamed[0]', 'after-split-window[0]'], check_values=True) @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SHOW_HOOKS_PARSE_TEST_CASES], ) def test_show_hooks_parsing_edge_cases( server: Server, test_case: ShowHooksParseTestCase, ) -> None: """Test show_hooks parses various output formats correctly.""" > session = server.new_session(session_name="test_parsing") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1088: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgv2c7syx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testgv2c7syx'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ test_show_hooks_empty_result _________________________ server = Server(socket_name=libtmux_testitpljfmn) def test_show_hooks_empty_result(server: Server) -> None: """Test show_hooks returns empty dict when no hooks are set.""" > session = server.new_session(session_name="test_empty_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testitpljfmn), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testitpljfmn'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________________________ test_options _________________________________ server = Server(socket_name=libtmux_testuxtdya28) def test_options(server: Server) -> None: """Test basic options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testuxtdya28), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testuxtdya28'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________________ test_options_server ______________________________ server = Server(socket_name=libtmux_test2o8n3quc) def test_options_server(server: Server) -> None: """Test server options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test2o8n3quc), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2o8n3quc'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________________ test_options_session _____________________________ server = Server(socket_name=libtmux_testofeqpha6) def test_options_session(server: Server) -> None: """Test session options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testofeqpha6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testofeqpha6'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________________ test_options_window ______________________________ server = Server(socket_name=libtmux_testz6py3n4b) def test_options_window(server: Server) -> None: """Test window options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:123: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testz6py3n4b), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testz6py3n4b'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________________ test_options_pane _______________________________ server = Server(socket_name=libtmux_testtf0bxiwz) def test_options_pane(server: Server) -> None: """Test pane options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtf0bxiwz), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testtf0bxiwz'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________________________ test_options_grid _______________________________ server = Server(socket_name=libtmux_testfvqubjyc) def test_options_grid(server: Server) -> None: """Test options against grid.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfvqubjyc), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testfvqubjyc'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________________________ test_custom_options ______________________________ server = Server(socket_name=libtmux_test_9v48k5e) def test_custom_options( server: Server, ) -> None: """Test tmux's user (custom) options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:198: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_9v48k5e), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_9v48k5e'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_show_option_pane_fixture[terminal-features] _______________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe9c21d3460> test_id = 'terminal-features' mocked_cmd_stdout = ['terminal-features[0] xterm*:clipboard:ccolour:cstyle:focus', 'terminal-features[1] screen*:title'] tmux_option = 'terminal-features' expected = {'screen*': ['title'], 'xterm*': ['clipboard', 'ccolour', 'cstyle', 'focus']} dataclass_attribute = 'terminal_features' server = Server(socket_name=libtmux_testq9d8n_uj) @pytest.mark.parametrize( list(OptionDataclassTestFixture._fields), TEST_FIXTURES, ids=[test.test_id for test in TEST_FIXTURES], ) def test_show_option_pane_fixture( monkeypatch: pytest.MonkeyPatch, test_id: str, mocked_cmd_stdout: list[str], tmux_option: str, expected: t.Any, dataclass_attribute: str, server: Server, ) -> None: """Test Pane.show_option(s)?.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:502: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testq9d8n_uj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testq9d8n_uj'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_show_option_pane_fixture[command-alias] _________________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe9c2602900> test_id = 'command-alias' mocked_cmd_stdout = ['command-alias[0] split-pane=split-window', 'command-alias[1] splitp=split-window', 'command-alias[2] "server-info=sh...-messages -JT"', 'command-alias[4] "choose-window=choose-tree -w"', 'command-alias[5] "choose-session=choose-tree -s"'] tmux_option = 'command-alias' expected = {'choose-session': 'choose-tree -s', 'choose-window': 'choose-tree -w', 'info': 'show-messages -JT', 'server-info': 'show-messages -JT', ...} dataclass_attribute = 'command_alias' server = Server(socket_name=libtmux_test9t30b1jm) @pytest.mark.parametrize( list(OptionDataclassTestFixture._fields), TEST_FIXTURES, ids=[test.test_id for test in TEST_FIXTURES], ) def test_show_option_pane_fixture( monkeypatch: pytest.MonkeyPatch, test_id: str, mocked_cmd_stdout: list[str], tmux_option: str, expected: t.Any, dataclass_attribute: str, server: Server, ) -> None: """Test Pane.show_option(s)?.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:502: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test9t30b1jm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test9t30b1jm'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ test_stable_baseline_options_and_hooks ____________________ server = Server(socket_name=libtmux_testmlksqtd9) def test_stable_baseline_options_and_hooks(server: Server) -> None: """Ensure stable baseline across tmux versions.""" > session = server.new_session(session_name="test", detach=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:515: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmlksqtd9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testmlksqtd9'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________________ test_complex_option_values __________________________ server = Server(socket_name=libtmux_testtx10cvob) def test_complex_option_values(server: Server) -> None: """Test complex option values and edge cases.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:605: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtx10cvob), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testtx10cvob'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ test_style_option_validation _________________________ server = Server(socket_name=libtmux_testzpy728ov) def test_style_option_validation(server: Server) -> None: """Test style option validation.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:636: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzpy728ov), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzpy728ov'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________________ test_option_error_handling __________________________ server = Server(socket_name=libtmux_testdqbyajhg) def test_option_error_handling(server: Server) -> None: """Test error handling for options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:684: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdqbyajhg), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdqbyajhg'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[server_buffer_limit] ________________ server = Server(socket_name=libtmux_test7zivq1s0) test_case = OptionTestCase(test_id='server_buffer_limit', option='buffer-limit', scope=, test_value=100, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test7zivq1s0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test7zivq1s0'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[server_escape_time] ________________ server = Server(socket_name=libtmux_test0eh6mf_p) test_case = OptionTestCase(test_id='server_escape_time', option='escape-time', scope=, test_value=50, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test0eh6mf_p), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test0eh6mf_p'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[server_message_limit] _______________ server = Server(socket_name=libtmux_testobxm4ja7) test_case = OptionTestCase(test_id='server_message_limit', option='message-limit', scope=, test_value=500, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testobxm4ja7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testobxm4ja7'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ test_option_set_show_cycle[server_prompt_history_limit] ____________ server = Server(socket_name=libtmux_testnhgqplku) test_case = OptionTestCase(test_id='server_prompt_history_limit', option='prompt-history-limit', scope=, test_value=50, expected_type=, min_version='3.3', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testnhgqplku), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testnhgqplku'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[server_exit_empty] _________________ server = Server(socket_name=libtmux_test1g37lcz5) test_case = OptionTestCase(test_id='server_exit_empty', option='exit-empty', scope=, test_value='off', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test1g37lcz5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test1g37lcz5'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[server_exit_unattached] ______________ server = Server(socket_name=libtmux_test71iusgta) test_case = OptionTestCase(test_id='server_exit_unattached', option='exit-unattached', scope=, test_value='off', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test71iusgta), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test71iusgta'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[server_focus_events] ________________ server = Server(socket_name=libtmux_testyawlxeho) test_case = OptionTestCase(test_id='server_focus_events', option='focus-events', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testyawlxeho), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testyawlxeho'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[server_extended_keys] _______________ server = Server(socket_name=libtmux_testjo04by_7) test_case = OptionTestCase(test_id='server_extended_keys', option='extended-keys', scope=, test_value='always', expected_type=, min_version='3.2', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjo04by_7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjo04by_7'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[server_set_clipboard] _______________ server = Server(socket_name=libtmux_testb1ewcp6o) test_case = OptionTestCase(test_id='server_set_clipboard', option='set-clipboard', scope=, test_value='external', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testb1ewcp6o), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testb1ewcp6o'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[server_default_terminal] ______________ server = Server(socket_name=libtmux_testwlytxdq9) test_case = OptionTestCase(test_id='server_default_terminal', option='default-terminal', scope=, test_value='screen-256color', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwlytxdq9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwlytxdq9'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________ test_option_set_show_cycle[server_editor] ___________________ server = Server(socket_name=libtmux_tests5d41tre) test_case = OptionTestCase(test_id='server_editor', option='editor', scope=, test_value='vim', expected_type=, min_version='3.2', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_tests5d41tre), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_tests5d41tre'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[session_base_index] ________________ server = Server(socket_name=libtmux_testsm6av2og) test_case = OptionTestCase(test_id='session_base_index', option='base-index', scope=, test_value=1, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testsm6av2og), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testsm6av2og'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[session_display_panes_time] ____________ server = Server(socket_name=libtmux_testy7coujzg) test_case = OptionTestCase(test_id='session_display_panes_time', option='display-panes-time', scope=, test_value=2000, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testy7coujzg), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy7coujzg'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_display_time] _______________ server = Server(socket_name=libtmux_testfmcu0e36) test_case = OptionTestCase(test_id='session_display_time', option='display-time', scope=, test_value=1000, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfmcu0e36), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testfmcu0e36'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[session_history_limit] _______________ server = Server(socket_name=libtmux_testywqbzrm1) test_case = OptionTestCase(test_id='session_history_limit', option='history-limit', scope=, test_value=5000, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testywqbzrm1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testywqbzrm1'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_lock_after_time] ______________ server = Server(socket_name=libtmux_test4c8khtg3) test_case = OptionTestCase(test_id='session_lock_after_time', option='lock-after-time', scope=, test_value=300, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4c8khtg3), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4c8khtg3'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_repeat_time] ________________ server = Server(socket_name=libtmux_testiog5t3jm) test_case = OptionTestCase(test_id='session_repeat_time', option='repeat-time', scope=, test_value=500, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testiog5t3jm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testiog5t3jm'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_status_interval] ______________ server = Server(socket_name=libtmux_testyufncq4k) test_case = OptionTestCase(test_id='session_status_interval', option='status-interval', scope=, test_value=5, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testyufncq4k), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testyufncq4k'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[session_status_left_length] ____________ server = Server(socket_name=libtmux_testmixwfl9t) test_case = OptionTestCase(test_id='session_status_left_length', option='status-left-length', scope=, test_value=20, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmixwfl9t), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testmixwfl9t'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ test_option_set_show_cycle[session_status_right_length] ____________ server = Server(socket_name=libtmux_testpmcrak30) test_case = OptionTestCase(test_id='session_status_right_length', option='status-right-length', scope=, test_value=30, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpmcrak30), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpmcrak30'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[session_destroy_unattached] ____________ server = Server(socket_name=libtmux_testfz0otlsh) test_case = OptionTestCase(test_id='session_destroy_unattached', option='destroy-unattached', scope=, test_value='off', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfz0otlsh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testfz0otlsh'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________ test_option_set_show_cycle[session_mouse] ___________________ server = Server(socket_name=libtmux_test3rl89mdc) test_case = OptionTestCase(test_id='session_mouse', option='mouse', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3rl89mdc), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test3rl89mdc'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_renumber_windows] _____________ server = Server(socket_name=libtmux_testndwma190) test_case = OptionTestCase(test_id='session_renumber_windows', option='renumber-windows', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testndwma190), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testndwma190'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[session_set_titles] ________________ server = Server(socket_name=libtmux_teste7rj_ywq) test_case = OptionTestCase(test_id='session_set_titles', option='set-titles', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_teste7rj_ywq), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_teste7rj_ywq'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_activity_action] ______________ server = Server(socket_name=libtmux_test0li3yd_4) test_case = OptionTestCase(test_id='session_activity_action', option='activity-action', scope=, test_value='any', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test0li3yd_4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test0li3yd_4'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_bell_action] ________________ server = Server(socket_name=libtmux_testvqlouwar) test_case = OptionTestCase(test_id='session_bell_action', option='bell-action', scope=, test_value='any', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testvqlouwar), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvqlouwar'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[session_detach_on_destroy] _____________ server = Server(socket_name=libtmux_testm40abnv3) test_case = OptionTestCase(test_id='session_detach_on_destroy', option='detach-on-destroy', scope=, test_value='no-detached', expected_type=, min_version='3.2', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testm40abnv3), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testm40abnv3'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[session_silence_action] ______________ server = Server(socket_name=libtmux_testr30w1eci) test_case = OptionTestCase(test_id='session_silence_action', option='silence-action', scope=, test_value='none', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testr30w1eci), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testr30w1eci'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_status_keys] ________________ server = Server(socket_name=libtmux_tests7mb90va) test_case = OptionTestCase(test_id='session_status_keys', option='status-keys', scope=, test_value='vi', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_tests7mb90va), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_tests7mb90va'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[session_status_justify] ______________ server = Server(socket_name=libtmux_testui3rn0_k) test_case = OptionTestCase(test_id='session_status_justify', option='status-justify', scope=, test_value='left', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testui3rn0_k), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testui3rn0_k'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_status_position] ______________ server = Server(socket_name=libtmux_testbwc8xzmj) test_case = OptionTestCase(test_id='session_status_position', option='status-position', scope=, test_value='bottom', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbwc8xzmj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbwc8xzmj'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_visual_activity] ______________ server = Server(socket_name=libtmux_testeu3zw910) test_case = OptionTestCase(test_id='session_visual_activity', option='visual-activity', scope=, test_value='both', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testeu3zw910), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testeu3zw910'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_visual_bell] ________________ server = Server(socket_name=libtmux_testqmijrup_) test_case = OptionTestCase(test_id='session_visual_bell', option='visual-bell', scope=, test_value='both', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testqmijrup_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testqmijrup_'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[session_visual_silence] ______________ server = Server(socket_name=libtmux_testd_ntu40r) test_case = OptionTestCase(test_id='session_visual_silence', option='visual-silence', scope=, test_value='both', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testd_ntu40r), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testd_ntu40r'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_default_command] ______________ server = Server(socket_name=libtmux_testn9jxql58) test_case = OptionTestCase(test_id='session_default_command', option='default-command', scope=, test_value='', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testn9jxql58), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testn9jxql58'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_status_left] ________________ server = Server(socket_name=libtmux_testbensq2o7) test_case = OptionTestCase(test_id='session_status_left', option='status-left', scope=, test_value='[#S]', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbensq2o7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbensq2o7'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_status_right] _______________ server = Server(socket_name=libtmux_testrs039h_j) test_case = OptionTestCase(test_id='session_status_right', option='status-right', scope=, test_value='%H:%M', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testrs039h_j), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrs039h_j'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_status_style] _______________ server = Server(socket_name=libtmux_testgi3uq1kn) test_case = OptionTestCase(test_id='session_status_style', option='status-style', scope=, test_value='fg=green', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgi3uq1kn), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testgi3uq1kn'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[session_status_left_style] _____________ server = Server(socket_name=libtmux_testis2lurcm) test_case = OptionTestCase(test_id='session_status_left_style', option='status-left-style', scope=, test_value='fg=blue', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testis2lurcm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testis2lurcm'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[session_status_right_style] ____________ server = Server(socket_name=libtmux_testhcjqfbo1) test_case = OptionTestCase(test_id='session_status_right_style', option='status-right-style', scope=, test_value='fg=yellow', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testhcjqfbo1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testhcjqfbo1'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[session_message_style] _______________ server = Server(socket_name=libtmux_testrgwcnu43) test_case = OptionTestCase(test_id='session_message_style', option='message-style', scope=, test_value='fg=red', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testrgwcnu43), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrgwcnu43'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[window_pane_base_index] ______________ server = Server(socket_name=libtmux_test4sz70wgm) test_case = OptionTestCase(test_id='window_pane_base_index', option='pane-base-index', scope=, test_value=1, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4sz70wgm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4sz70wgm'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[window_monitor_silence] ______________ server = Server(socket_name=libtmux_test45yaf7br) test_case = OptionTestCase(test_id='window_monitor_silence', option='monitor-silence', scope=, test_value=10, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test45yaf7br), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test45yaf7br'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[window_aggressive_resize] _____________ server = Server(socket_name=libtmux_testsvbg5rfu) test_case = OptionTestCase(test_id='window_aggressive_resize', option='aggressive-resize', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testsvbg5rfu), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testsvbg5rfu'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[window_automatic_rename] ______________ server = Server(socket_name=libtmux_testu5m93fnv) test_case = OptionTestCase(test_id='window_automatic_rename', option='automatic-rename', scope=, test_value='off', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testu5m93fnv), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testu5m93fnv'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[window_monitor_activity] ______________ server = Server(socket_name=libtmux_testfngudbwo) test_case = OptionTestCase(test_id='window_monitor_activity', option='monitor-activity', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfngudbwo), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testfngudbwo'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[window_monitor_bell] ________________ server = Server(socket_name=libtmux_testi_2uj3ry) test_case = OptionTestCase(test_id='window_monitor_bell', option='monitor-bell', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testi_2uj3ry), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testi_2uj3ry'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[window_wrap_search] ________________ server = Server(socket_name=libtmux_testiy_ol04d) test_case = OptionTestCase(test_id='window_wrap_search', option='wrap-search', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testiy_ol04d), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testiy_ol04d'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[window_clock_mode_style] ______________ server = Server(socket_name=libtmux_testhisaj1yp) test_case = OptionTestCase(test_id='window_clock_mode_style', option='clock-mode-style', scope=, test_value='24', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testhisaj1yp), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testhisaj1yp'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_option_set_show_cycle[window_mode_keys] _________________ server = Server(socket_name=libtmux_testj4_q0isv) test_case = OptionTestCase(test_id='window_mode_keys', option='mode-keys', scope=, test_value='vi', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testj4_q0isv), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testj4_q0isv'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[window_pane_border_status] _____________ server = Server(socket_name=libtmux_test7ar2bf81) test_case = OptionTestCase(test_id='window_pane_border_status', option='pane-border-status', scope=, test_value='top', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test7ar2bf81), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test7ar2bf81'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[window_window_size] ________________ server = Server(socket_name=libtmux_testpr4e0gtq) test_case = OptionTestCase(test_id='window_window_size', option='window-size', scope=, test_value='latest', expected_type=, min_version='3.1', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpr4e0gtq), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpr4e0gtq'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[window_pane_border_format] _____________ server = Server(socket_name=libtmux_testo5gv6trx) test_case = OptionTestCase(test_id='window_pane_border_format', option='pane-border-format', scope=, test_value='#{pane_index}', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testo5gv6trx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testo5gv6trx'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[window_mode_style] _________________ server = Server(socket_name=libtmux_testn8qjm19p) test_case = OptionTestCase(test_id='window_mode_style', option='mode-style', scope=, test_value='fg=white', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testn8qjm19p), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testn8qjm19p'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[window_pane_border_style] _____________ server = Server(socket_name=libtmux_testaljn7hzm) test_case = OptionTestCase(test_id='window_pane_border_style', option='pane-border-style', scope=, test_value='fg=green', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testaljn7hzm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testaljn7hzm'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________ test_option_set_show_cycle[window_pane_active_border_style] __________ server = Server(socket_name=libtmux_testpa0wjitx) test_case = OptionTestCase(test_id='window_pane_active_border_style', option='pane-active-border-style', scope=, test_value='fg=red', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpa0wjitx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpa0wjitx'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[window_window_status_style] ____________ server = Server(socket_name=libtmux_testj_ax7grs) test_case = OptionTestCase(test_id='window_window_status_style', option='window-status-style', scope=, test_value='fg=cyan', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testj_ax7grs), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testj_ax7grs'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________ test_option_set_show_cycle[window_window_status_current_style] ________ server = Server(socket_name=libtmux_test9w_5lv7q) test_case = OptionTestCase(test_id='window_window_status_current_style', option='window-status-current-style', scope=, test_value='fg=magenta', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test9w_5lv7q), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test9w_5lv7q'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[pane_allow_rename] _________________ server = Server(socket_name=libtmux_test3547qrsl) test_case = OptionTestCase(test_id='pane_allow_rename', option='allow-rename', scope=, test_value='off', expected_type=, min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3547qrsl), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test3547qrsl'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[pane_alternate_screen] _______________ server = Server(socket_name=libtmux_testjlwbyfke) test_case = OptionTestCase(test_id='pane_alternate_screen', option='alternate-screen', scope=, test_value='on', expected_type=, min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjlwbyfke), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjlwbyfke'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[pane_scroll_on_clear] _______________ server = Server(socket_name=libtmux_testl2e3_iyr) test_case = OptionTestCase(test_id='pane_scroll_on_clear', option='scroll-on-clear', scope=, test_value='on', expected_type=, min_version='3.3', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testl2e3_iyr), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testl2e3_iyr'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[pane_synchronize_panes] ______________ server = Server(socket_name=libtmux_testf5rg2xwq) test_case = OptionTestCase(test_id='pane_synchronize_panes', option='synchronize-panes', scope=, test_value='off', expected_type=, min_version='3.1', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testf5rg2xwq), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testf5rg2xwq'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[pane_allow_passthrough] ______________ server = Server(socket_name=libtmux_testuc1vfk78) test_case = OptionTestCase(test_id='pane_allow_passthrough', option='allow-passthrough', scope=, test_value='all', expected_type=, min_version='3.4', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testuc1vfk78), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testuc1vfk78'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[pane_remain_on_exit] ________________ server = Server(socket_name=libtmux_test5h2grcws) test_case = OptionTestCase(test_id='pane_remain_on_exit', option='remain-on-exit', scope=, test_value='failed', expected_type=, min_version='3.2', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test5h2grcws), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5h2grcws'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[pane_window_style] _________________ server = Server(socket_name=libtmux_test6brem38l) test_case = OptionTestCase(test_id='pane_window_style', option='window-style', scope=, test_value='default', expected_type=, min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6brem38l), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6brem38l'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[pane_window_active_style] _____________ server = Server(socket_name=libtmux_test1r_8su7o) test_case = OptionTestCase(test_id='pane_window_active_style', option='window-active-style', scope=, test_value='default', expected_type=, min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test1r_8su7o), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test1r_8su7o'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_show_options_returns_expected_keys[server_global] ____________ server = Server(socket_name=libtmux_testy52up9wg) test_case = ShowOptionsTestCase(test_id='server_global', scope=, expected_keys=['buffer-limit', 'escape-time', 'exit-empty', 'focus-events'], global_=True, include_inherited=False, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_options_params()) def test_show_options_returns_expected_keys( server: Server, test_case: ShowOptionsTestCase, ) -> None: """Test that show_options() returns dict with expected scope-specific keys.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_options") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testy52up9wg), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy52up9wg'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ test_show_options_returns_expected_keys[server_global_inherited] _______ server = Server(socket_name=libtmux_test_n7vrfoz) test_case = ShowOptionsTestCase(test_id='server_global_inherited', scope=, expected_keys=['buffer-limit', 'escape-time', 'exit-empty', 'focus-events'], global_=True, include_inherited=True, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_options_params()) def test_show_options_returns_expected_keys( server: Server, test_case: ShowOptionsTestCase, ) -> None: """Test that show_options() returns dict with expected scope-specific keys.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_options") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_n7vrfoz), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_n7vrfoz'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________ test_show_options_returns_expected_keys[session_global] ____________ server = Server(socket_name=libtmux_testkhevgp1r) test_case = ShowOptionsTestCase(test_id='session_global', scope=, expected_keys=['base-index', 'history-limit', 'status'], global_=True, include_inherited=False, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_options_params()) def test_show_options_returns_expected_keys( server: Server, test_case: ShowOptionsTestCase, ) -> None: """Test that show_options() returns dict with expected scope-specific keys.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_options") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testkhevgp1r), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testkhevgp1r'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ______ test_show_options_returns_expected_keys[session_global_inherited] _______ server = Server(socket_name=libtmux_testkd2ebwyn) test_case = ShowOptionsTestCase(test_id='session_global_inherited', scope=, expected_keys=['base-index', 'history-limit', 'status'], global_=True, include_inherited=True, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_options_params()) def test_show_options_returns_expected_keys( server: Server, test_case: ShowOptionsTestCase, ) -> None: """Test that show_options() returns dict with expected scope-specific keys.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_options") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testkd2ebwyn), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testkd2ebwyn'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_show_options_returns_expected_keys[window_global] ____________ server = Server(socket_name=libtmux_testpo150il9) test_case = ShowOptionsTestCase(test_id='window_global', scope=, expected_keys=['mode-keys', 'pane-base-index', 'automatic-rename'], global_=True, include_inherited=False, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_options_params()) def test_show_options_returns_expected_keys( server: Server, test_case: ShowOptionsTestCase, ) -> None: """Test that show_options() returns dict with expected scope-specific keys.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_options") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpo150il9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpo150il9'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______ test_show_options_returns_expected_keys[window_global_inherited] _______ server = Server(socket_name=libtmux_testn9sp0cmu) test_case = ShowOptionsTestCase(test_id='window_global_inherited', scope=, expected_keys=['mode-keys', 'pane-base-index', 'automatic-rename'], global_=True, include_inherited=True, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_options_params()) def test_show_options_returns_expected_keys( server: Server, test_case: ShowOptionsTestCase, ) -> None: """Test that show_options() returns dict with expected scope-specific keys.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_options") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testn9sp0cmu), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testn9sp0cmu'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________________________ test_plugin __________________________________ pytester = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe9c204cc90> def test_plugin( pytester: pytest.Pytester, monkeypatch: pytest.MonkeyPatch, ) -> None: """Test libtmux pytest plugin.""" # Initialize variables pytester.plugins = ["pytest_plugin"] pytester.makefile( ".ini", pytest=textwrap.dedent( """ [pytest] addopts=-vv """.strip(), ), ) pytester.makeconftest( textwrap.dedent( r""" import pathlib import pytest @pytest.fixture(autouse=True) def setup( request: pytest.FixtureRequest, ) -> None: pass """, ), ) tests_path = pytester.path / "tests" files = { "example.py": textwrap.dedent( """ import pathlib def test_repo_git_remote_checkout( session, ) -> None: assert session.session_name is not None assert session.session_id == "$1" new_window = session.new_window(attach=False, window_name="my window name") assert new_window.window_name == "my window name" """, ), } first_test_key = next(iter(files.keys())) first_test_filename = str(tests_path / first_test_key) tests_path.mkdir() for file_name, text in files.items(): test_file = tests_path / file_name test_file.write_text( text, encoding="utf-8", ) # Test result = pytester.runpytest(str(first_test_filename)) > result.assert_outcomes(passed=1) E AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 0, 'errors': 1, 'xpassed': 0, 'xfailed': 0} == {'passed': 1, 'skipped': 0, 'failed': 0, 'errors': 0, 'xpassed': 0, 'xfailed': 0} E E Common items: E {'failed': 0, 'skipped': 0, 'xfailed': 0, 'xpassed': 0} E Differing items: E {'errors': 1} != {'errors': 0} E {'passed': 0} != {'passed': 1} E E Full diff: E { E - 'errors': 0, E ? ^ E + 'errors': 1, E ? ^ E 'failed': 0, E - 'passed': 1, E ? ^ E + 'passed': 0, E ? ^ E 'skipped': 0, E 'xfailed': 0, E 'xpassed': 0, E } /build/python-libtmux/src/libtmux-0.53.0/tests/test_pytest_plugin.py:78: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-8.4.2, pluggy-1.6.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /tmp/pytest-of-builduser/pytest-0/test_plugin0 configfile: pytest.ini plugins: libtmux-0.53.0, mock-3.14.0, rerunfailures-16.1 collecting ... collected 1 item tests/example.py::test_repo_git_remote_checkout ERROR [100%] ==================================== ERRORS ==================================== _______________ ERROR at setup of test_repo_git_remote_checkout ________________ request = > session_params = {}, server = Server(socket_name=libtmux_testucify_5z) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testucify_5z), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testucify_5z'] /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException =========================== short test summary info ============================ ERROR tests/example.py::test_repo_git_remote_checkout - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testucify_5z'] =============================== 1 error in 0.57s =============================== _______________________________ test_test_server _______________________________ TestServer = functools.partial(, on_init=.on_init at 0x7fe9c4a9a8d0>, socket_name_factory=.socket_name_factory at 0x7fe9c4a9aa30>) def test_test_server(TestServer: t.Callable[..., Server]) -> None: """Test TestServer creates and cleans up server.""" server = TestServer() assert server.is_alive() is False # Server not started yet > session = server.new_session() ^^^^^^^^^^^^^^^^^^^^ tests/test_pytest_plugin.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test78xlhpqm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test78xlhpqm'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ test_test_server_with_config _________________________ TestServer = functools.partial(, on_init=.on_init at 0x7fe9c4a66140>, socket_name_factory=.socket_name_factory at 0x7fe9c4a66350>) tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_test_server_with_config0') def test_test_server_with_config( TestServer: t.Callable[..., Server], tmp_path: pathlib.Path, ) -> None: """Test TestServer with config file.""" config_file = tmp_path / "tmux.conf" config_file.write_text("set -g status off", encoding="utf-8") server = TestServer(config_file=str(config_file)) > session = server.new_session() ^^^^^^^^^^^^^^^^^^^^ tests/test_pytest_plugin.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testhivkzj0b), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testhivkzj0b'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________________ test_test_server_cleanup ___________________________ TestServer = functools.partial(, on_init=.on_init at 0x7fe9c4a66cf0>, socket_name_factory=.socket_name_factory at 0x7fe9c4a66e50>) def test_test_server_cleanup(TestServer: t.Callable[..., Server]) -> None: """Test TestServer properly cleans up after itself.""" server = TestServer() socket_name = server.socket_name assert socket_name is not None # Create multiple sessions > server.new_session(session_name="test1") tests/test_pytest_plugin.py:124: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6a9rwyf3), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6a9rwyf3'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________________ test_test_server_multiple ___________________________ TestServer = functools.partial(, on_init=.on_init at 0x7fe9c4a677f0>, socket_name_factory=.socket_name_factory at 0x7fe9c4a67950>) def test_test_server_multiple(TestServer: t.Callable[..., Server]) -> None: """Test multiple TestServer instances can coexist.""" server1 = TestServer() server2 = TestServer() # Each server should have a unique socket assert server1.socket_name != server2.socket_name # Create sessions in each server > server1.new_session(session_name="test1") tests/test_pytest_plugin.py:151: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testc7qjd1ua), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testc7qjd1ua'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________________________ test_new_session _______________________________ server = Server(socket_name=libtmux_testv2om7raq) def test_new_session(server: Server) -> None: """Server.new_session creates and returns valid session.""" > mysession = server.new_session("test_new_session") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_server.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testv2om7raq), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testv2om7raq'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________________ test_new_session_no_name ___________________________ server = Server(socket_name=libtmux_testdr3acbiu) def test_new_session_no_name(server: Server) -> None: """Server.new_session works with no name.""" > first_session = server.new_session() ^^^^^^^^^^^^^^^^^^^^ tests/test_server.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdr3acbiu), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdr3acbiu'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ____________________________ test_new_session_shell ____________________________ server = Server(socket_name=libtmux_test6lcmf47n) def test_new_session_shell(server: Server) -> None: """Verify ``Server.new_session`` creates valid session running w/ command.""" cmd = "sleep 1m" > mysession = server.new_session("test_new_session", window_command=cmd) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_server.py:127: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6lcmf47n), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6lcmf47n'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________________ test_new_session_shell_env __________________________ server = Server(socket_name=libtmux_testskrdqnv6) def test_new_session_shell_env(server: Server) -> None: """Verify ``Server.new_session`` creates valid session running w/ command (#553).""" cmd = "sleep 1m" env = dict(os.environ) > mysession = server.new_session( "test_new_session_env", window_command=cmd, environment=env, ) tests/test_server.py:143: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testskrdqnv6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testskrdqnv6'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ test_new_session_environmental_variables ___________________ server = Server(socket_name=libtmux_teste_z6uy3d) def test_new_session_environmental_variables( server: Server, ) -> None: """Server.new_session creates and returns valid session.""" > my_session = server.new_session("test_new_session", environment={"FOO": "HI"}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_server.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_teste_z6uy3d), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_teste_z6uy3d'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________________ test_with_server_is_alive ___________________________ server = Server(socket_name=libtmux_test7xiwjlsq) def test_with_server_is_alive(server: Server) -> None: """Verify is_alive() returns True when tmux server is alive.""" > server.new_session() tests/test_server.py:205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test7xiwjlsq), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test7xiwjlsq'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException __________________ test_raise_if_dead_does_not_raise_if_alive __________________ server = Server(socket_name=libtmux_testpfo5qchv) def test_raise_if_dead_does_not_raise_if_alive(server: Server) -> None: """Verify new_session() does not raise if tmux server is alive.""" > server.new_session() tests/test_server.py:218: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpfo5qchv), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpfo5qchv'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ test_server_context_manager __________________________ TestServer = functools.partial(, on_init=.on_init at 0x7fe9c4aa8930>, socket_name_factory=.socket_name_factory at 0x7fe9c4aa9850>) def test_server_context_manager(TestServer: type[Server]) -> None: """Test Server context manager functionality.""" with TestServer() as server: > session = server.new_session() ^^^^^^^^^^^^^^^^^^^^ tests/test_server.py:293: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testyr6ot8ac), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testyr6ot8ac'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_new_session_start_directory[none_value] _________________ test_id = 'none_value', start_directory = None description = 'None should not add -c flag' server = Server(socket_name=libtmux_test8yarqm1e) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe9c4a4d400> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_new_session_start_directo0') user_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/home0/builduser') @pytest.mark.parametrize( list(StartDirectoryTestFixture._fields), START_DIRECTORY_TEST_FIXTURES, ids=[test.test_id for test in START_DIRECTORY_TEST_FIXTURES], ) def test_new_session_start_directory( test_id: str, start_directory: StrPath | None, description: str, server: Server, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path, user_path: pathlib.Path, ) -> None: """Test Server.new_session start_directory parameter handling.""" monkeypatch.chdir(tmp_path) # Format path placeholders with actual fixture values actual_start_directory = start_directory expected_path = None if start_directory and str(start_directory) not in {"", "None"}: if f"{user_path}" in str(start_directory): # Replace placeholder with actual user_path actual_start_directory = str(start_directory).format(user_path=user_path) expected_path = str(user_path) elif str(start_directory).startswith("./"): # For relative paths, use tmp_path as base temp_dir = tmp_path / "relative" / "path" temp_dir.mkdir(parents=True, exist_ok=True) actual_start_directory = str(temp_dir) expected_path = str(temp_dir.resolve()) # Should not raise an error > session = server.new_session( session_name=f"test_session_{test_id}", start_directory=actual_start_directory, ) /build/python-libtmux/src/libtmux-0.53.0/tests/test_server.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test8yarqm1e), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8yarqm1e'] /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_new_session_start_directory[empty_string] ________________ test_id = 'empty_string', start_directory = '' description = 'Empty string should not add -c flag' server = Server(socket_name=libtmux_testg0lhs6i2) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe9c4a4c130> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_new_session_start_directo1') user_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/home0/builduser') @pytest.mark.parametrize( list(StartDirectoryTestFixture._fields), START_DIRECTORY_TEST_FIXTURES, ids=[test.test_id for test in START_DIRECTORY_TEST_FIXTURES], ) def test_new_session_start_directory( test_id: str, start_directory: StrPath | None, description: str, server: Server, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path, user_path: pathlib.Path, ) -> None: """Test Server.new_session start_directory parameter handling.""" monkeypatch.chdir(tmp_path) # Format path placeholders with actual fixture values actual_start_directory = start_directory expected_path = None if start_directory and str(start_directory) not in {"", "None"}: if f"{user_path}" in str(start_directory): # Replace placeholder with actual user_path actual_start_directory = str(start_directory).format(user_path=user_path) expected_path = str(user_path) elif str(start_directory).startswith("./"): # For relative paths, use tmp_path as base temp_dir = tmp_path / "relative" / "path" temp_dir.mkdir(parents=True, exist_ok=True) actual_start_directory = str(temp_dir) expected_path = str(temp_dir.resolve()) # Should not raise an error > session = server.new_session( session_name=f"test_session_{test_id}", start_directory=actual_start_directory, ) /build/python-libtmux/src/libtmux-0.53.0/tests/test_server.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testg0lhs6i2), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testg0lhs6i2'] /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_new_session_start_directory[user_path] __________________ test_id = 'user_path', start_directory = '{user_path}' description = 'User path should add -c flag' server = Server(socket_name=libtmux_testscm9ugqx) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe9c4ae02f0> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_new_session_start_directo2') user_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/home0/builduser') @pytest.mark.parametrize( list(StartDirectoryTestFixture._fields), START_DIRECTORY_TEST_FIXTURES, ids=[test.test_id for test in START_DIRECTORY_TEST_FIXTURES], ) def test_new_session_start_directory( test_id: str, start_directory: StrPath | None, description: str, server: Server, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path, user_path: pathlib.Path, ) -> None: """Test Server.new_session start_directory parameter handling.""" monkeypatch.chdir(tmp_path) # Format path placeholders with actual fixture values actual_start_directory = start_directory expected_path = None if start_directory and str(start_directory) not in {"", "None"}: if f"{user_path}" in str(start_directory): # Replace placeholder with actual user_path actual_start_directory = str(start_directory).format(user_path=user_path) expected_path = str(user_path) elif str(start_directory).startswith("./"): # For relative paths, use tmp_path as base temp_dir = tmp_path / "relative" / "path" temp_dir.mkdir(parents=True, exist_ok=True) actual_start_directory = str(temp_dir) expected_path = str(temp_dir.resolve()) # Should not raise an error > session = server.new_session( session_name=f"test_session_{test_id}", start_directory=actual_start_directory, ) /build/python-libtmux/src/libtmux-0.53.0/tests/test_server.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testscm9ugqx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testscm9ugqx'] /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_new_session_start_directory[relative_path] ________________ test_id = 'relative_path', start_directory = './relative/path' description = 'Relative path should add -c flag' server = Server(socket_name=libtmux_test5ympszwf) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe9c20e35b0> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_new_session_start_directo3') user_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/home0/builduser') @pytest.mark.parametrize( list(StartDirectoryTestFixture._fields), START_DIRECTORY_TEST_FIXTURES, ids=[test.test_id for test in START_DIRECTORY_TEST_FIXTURES], ) def test_new_session_start_directory( test_id: str, start_directory: StrPath | None, description: str, server: Server, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path, user_path: pathlib.Path, ) -> None: """Test Server.new_session start_directory parameter handling.""" monkeypatch.chdir(tmp_path) # Format path placeholders with actual fixture values actual_start_directory = start_directory expected_path = None if start_directory and str(start_directory) not in {"", "None"}: if f"{user_path}" in str(start_directory): # Replace placeholder with actual user_path actual_start_directory = str(start_directory).format(user_path=user_path) expected_path = str(user_path) elif str(start_directory).startswith("./"): # For relative paths, use tmp_path as base temp_dir = tmp_path / "relative" / "path" temp_dir.mkdir(parents=True, exist_ok=True) actual_start_directory = str(temp_dir) expected_path = str(temp_dir.resolve()) # Should not raise an error > session = server.new_session( session_name=f"test_session_{test_id}", start_directory=actual_start_directory, ) /build/python-libtmux/src/libtmux-0.53.0/tests/test_server.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test5ympszwf), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5ympszwf'] /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ test_new_session_start_directory_pathlib ___________________ server = Server(socket_name=libtmux_testu6k71zy5) user_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/home0/builduser') def test_new_session_start_directory_pathlib( server: Server, user_path: pathlib.Path, ) -> None: """Test Server.new_session accepts pathlib.Path for start_directory.""" # Pass pathlib.Path directly to test pathlib.Path acceptance > session = server.new_session( session_name="test_pathlib_start_dir", start_directory=user_path, ) tests/test_server.py:392: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testu6k71zy5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testu6k71zy5'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _______________________________ test_new_session _______________________________ server = Server(socket_name=libtmux_testqsmv164_) def test_new_session(server: Server) -> None: """Server.new_session creates new session.""" new_session_name = TEST_SESSION_PREFIX + next(namer) > new_session = server.new_session(session_name=new_session_name, detach=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_session.py:123: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testqsmv164_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testqsmv164_'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ test_session_context_manager _________________________ server = Server(socket_name=libtmux_test6al2bfx8) def test_session_context_manager(server: Server) -> None: """Test Session context manager functionality.""" > with server.new_session() as session: ^^^^^^^^^^^^^^^^^^^^ tests/test_session.py:377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6al2bfx8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6al2bfx8'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _ test_session_attach_does_not_fail_if_session_killed_during_attach[session_killed_during_attach_should_not_raise] _ server = Server(socket_name=libtmux_test510d_zar) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe9c210e6d0> test_id = 'session_killed_during_attach_should_not_raise', raises = False @pytest.mark.parametrize( list(SessionAttachRefreshFixture._fields), SESSION_ATTACH_REFRESH_FIXTURES, ids=[test.test_id for test in SESSION_ATTACH_REFRESH_FIXTURES], ) def test_session_attach_does_not_fail_if_session_killed_during_attach( server: Server, monkeypatch: pytest.MonkeyPatch, test_id: str, raises: type[Exception] | bool, ) -> None: """Regression test: Session.attach() should not fail if session is killed. When a user is attached to a tmux session via `tmuxp load`, then kills the session from within tmux (e.g., kills all windows), and then detaches, the attach() method should not raise an exception. Currently, attach() calls self.refresh() after attach-session returns, which fails with TmuxObjectDoesNotExist if the session no longer exists. The fix is to remove the refresh() call from attach() since: 1. attach-session is a blocking interactive command 2. Session state can change arbitrarily while the user is attached 3. Refreshing after such a command makes no semantic sense """ from libtmux.common import tmux_cmd # Create a new session specifically for this test > test_session = server.new_session(detach=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_session.py:546: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test510d_zar), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test510d_zar'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException _________________________________ test_filter __________________________________ server = Server(socket_name=libtmux_testigzd6rbf) def test_filter(server: Server) -> None: """Test self.filter() retrieves child object.""" > sess = server.new_session("test") ^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_tmuxobject.py:162: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.14/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.14/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testigzd6rbf), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testigzd6rbf'] test_dir/usr/lib/python3.14/site-packages/libtmux/neo.py:209: LibTmuxException =========================== short test summary info ============================ FAILED tests/legacy_api/test_session.py::test_kill_session_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4ax1c7lt'] FAILED tests/test/test_random.py::test_get_test_session_name_loop_behavior - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testge5u8q1f'] FAILED tests/test/test_random.py::test_get_test_session_name_implementation_details - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testgzj3uxep'] FAILED tests/test/test_temporary.py::test_temp_session_creates_and_destroys - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdazluxqv'] FAILED tests/test/test_temporary.py::test_temp_session_with_name - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test1idrmtnh'] FAILED tests/test/test_temporary.py::test_temp_session_cleanup_on_exception - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvzs8o0p5'] FAILED tests/test/test_temporary.py::test_temp_session_outside_context - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvesu4591'] FAILED tests/test_dataclasses.py::test_pane - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test21aqetsd'] FAILED tests/test_hooks.py::test_hooks_raw_cmd - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4rdzei5_'] FAILED tests/test_hooks.py::test_hooks_dataclass - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testsqyfr0_a'] FAILED tests/test_hooks.py::test_hooks_mixin - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5ck2uylm'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[alert_activity] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testj7ksyg9m'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[alert_bell] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testadqrz73y'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[alert_silence] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test89rb6jv1'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_active] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testx5dnjq_8'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_attached] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testz6f3w5ck'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_detached] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwpc2labk'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_focus_in] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testeyl0cmop'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_focus_out] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testz72jdlpx'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_resized] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testj25gh1xt'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_session_changed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testo6kdreh4'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[session_created] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test71kmfpzs'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[session_closed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testg69f58b_'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[session_renamed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testp3yzfgw1'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[window_linked] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testqpu_ztea'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[window_renamed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjn1fag6b'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[window_resized] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test34nqfy69'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[window_unlinked] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testgv5bw4zy'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[session_window_changed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5_8pyw9x'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_died] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testsp4rq27u'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_exited] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testnv23ljci'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_focus_in] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4m5k1x0y'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_focus_out] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testw4h1o7tu'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_mode_changed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testf48qg07n'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_set_clipboard] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5k7lznxh'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_bind_key] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test05lmcoaq'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_capture_pane] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwnbh9432'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_copy_mode] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwaxzpom8'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_display_message] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testojau0e1s'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_display_panes] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6w2op0xf'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_kill_pane] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testp_xoz49j'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_buffers] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test1tj6pke2'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_clients] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testsci1o9tu'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_keys] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testztyci4wd'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_panes] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testv8jzysu3'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_sessions] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_g7pnl3b'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_windows] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrdg3xa7s'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_load_buffer] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testb75c4wlf'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_lock_server] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6eb7aq39'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_new_session] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test345pf6rh'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_new_window] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvmifwk6h'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_paste_buffer] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test80srpqnm'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_pipe_pane] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test9un85cgv'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_queue] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testz2qcw7lk'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_refresh_client] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwdu5304p'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_rename_session] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4xszo0yw'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_rename_window] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6qgyu_s5'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_resize_pane] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testuzkn_jds'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_resize_window] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testl7fyi3zp'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_save_buffer] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5ckb4tvo'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_select_layout] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testg0kovd3r'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_select_pane] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testu3ehjtlb'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_select_window] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testm_qitjnb'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_send_keys] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzy8jvnlq'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_buffer] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6okh5idt'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_environment] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testisfax9r4'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_hook] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwk68uqd7'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_option] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2owgrq5_'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_show_environment] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testyx5vo9e0'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_show_messages] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testycb8fqs4'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_show_options] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testtaxk7e85'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_split_window] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testh65ebs74'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_unbind_key] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testc8q4ir7z'] FAILED tests/test_hooks.py::test_new_hooks_version_gated[pane_title_changed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testktiwdjpx'] FAILED tests/test_hooks.py::test_set_hooks[set_hooks_with_dict] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testap36yj27'] FAILED tests/test_hooks.py::test_set_hooks[set_hooks_with_list] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbnsl5t4g'] FAILED tests/test_hooks.py::test_set_hooks[set_hooks_clear_existing] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testicazu19f'] FAILED tests/test_hooks.py::test_show_hook_returns_sparse_array - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testgpiwj_vo'] FAILED tests/test_hooks.py::test_show_hook_indexed_lookup[index_zero-session-renamed-0-display-message 'test zero'] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjra2n013'] FAILED tests/test_hooks.py::test_show_hook_indexed_lookup[index_five-session-renamed-5-display-message 'test five'] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testd53vno41'] FAILED tests/test_hooks.py::test_show_hook_indexed_lookup[window_hook-window-renamed-0-display-message 'window test'] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testszufnetg'] FAILED tests/test_hooks.py::test_set_hooks_with_sparse_array - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testk50tna24'] FAILED tests/test_hooks.py::test_set_hooks_method_chaining - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testb67w_pvt'] FAILED tests/test_hooks.py::test_unset_hook_clears_all_indices - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_fxvsbnu'] FAILED tests/test_hooks.py::test_set_hook_append_flag - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testxd8lb07v'] FAILED tests/test_hooks.py::test_show_hooks_stores_string_values[string_hook_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrt4xk8jb'] FAILED tests/test_hooks.py::test_show_hooks_stores_string_values[multiple_hooks] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testadu0knjm'] FAILED tests/test_hooks.py::test_run_hook_basic - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testucypz8qe'] FAILED tests/test_hooks.py::test_set_hook_flag_combinations[append_to_existing] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testigbsd_3z'] FAILED tests/test_hooks.py::test_set_hook_flag_combinations[global_hook] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test08ljc5m7'] FAILED tests/test_hooks.py::test_set_hook_flag_combinations[run_immediately] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testmvzt5ngj'] FAILED tests/test_hooks.py::test_set_hook_flag_combinations[append_and_global] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testt12m37df'] FAILED tests/test_hooks.py::test_hook_scope_handling[session_scope] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzxvw2t5y'] FAILED tests/test_hooks.py::test_hook_scope_handling[window_scope] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testcismaoxp'] FAILED tests/test_hooks.py::test_hook_scope_handling[pane_scope] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testu5e3hats'] FAILED tests/test_hooks.py::test_show_hooks_parsing_edge_cases[normal_hook_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testq_p7mxg5'] FAILED tests/test_hooks.py::test_show_hooks_parsing_edge_cases[multiple_indexed_hooks] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrgivbdxj'] FAILED tests/test_hooks.py::test_show_hooks_parsing_edge_cases[multiple_different_hooks] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testgv2c7syx'] FAILED tests/test_hooks.py::test_show_hooks_empty_result - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testitpljfmn'] FAILED tests/test_options.py::test_options - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testuxtdya28'] FAILED tests/test_options.py::test_options_server - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2o8n3quc'] FAILED tests/test_options.py::test_options_session - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testofeqpha6'] FAILED tests/test_options.py::test_options_window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testz6py3n4b'] FAILED tests/test_options.py::test_options_pane - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testtf0bxiwz'] FAILED tests/test_options.py::test_options_grid - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testfvqubjyc'] FAILED tests/test_options.py::test_custom_options - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_9v48k5e'] FAILED tests/test_options.py::test_show_option_pane_fixture[terminal-features] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testq9d8n_uj'] FAILED tests/test_options.py::test_show_option_pane_fixture[command-alias] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test9t30b1jm'] FAILED tests/test_options.py::test_stable_baseline_options_and_hooks - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testmlksqtd9'] FAILED tests/test_options.py::test_complex_option_values - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testtx10cvob'] FAILED tests/test_options.py::test_style_option_validation - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzpy728ov'] FAILED tests/test_options.py::test_option_error_handling - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdqbyajhg'] FAILED tests/test_options.py::test_option_set_show_cycle[server_buffer_limit] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test7zivq1s0'] FAILED tests/test_options.py::test_option_set_show_cycle[server_escape_time] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test0eh6mf_p'] FAILED tests/test_options.py::test_option_set_show_cycle[server_message_limit] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testobxm4ja7'] FAILED tests/test_options.py::test_option_set_show_cycle[server_prompt_history_limit] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testnhgqplku'] FAILED tests/test_options.py::test_option_set_show_cycle[server_exit_empty] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test1g37lcz5'] FAILED tests/test_options.py::test_option_set_show_cycle[server_exit_unattached] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test71iusgta'] FAILED tests/test_options.py::test_option_set_show_cycle[server_focus_events] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testyawlxeho'] FAILED tests/test_options.py::test_option_set_show_cycle[server_extended_keys] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjo04by_7'] FAILED tests/test_options.py::test_option_set_show_cycle[server_set_clipboard] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testb1ewcp6o'] FAILED tests/test_options.py::test_option_set_show_cycle[server_default_terminal] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwlytxdq9'] FAILED tests/test_options.py::test_option_set_show_cycle[server_editor] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_tests5d41tre'] FAILED tests/test_options.py::test_option_set_show_cycle[session_base_index] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testsm6av2og'] FAILED tests/test_options.py::test_option_set_show_cycle[session_display_panes_time] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy7coujzg'] FAILED tests/test_options.py::test_option_set_show_cycle[session_display_time] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testfmcu0e36'] FAILED tests/test_options.py::test_option_set_show_cycle[session_history_limit] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testywqbzrm1'] FAILED tests/test_options.py::test_option_set_show_cycle[session_lock_after_time] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4c8khtg3'] FAILED tests/test_options.py::test_option_set_show_cycle[session_repeat_time] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testiog5t3jm'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_interval] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testyufncq4k'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_left_length] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testmixwfl9t'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_right_length] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpmcrak30'] FAILED tests/test_options.py::test_option_set_show_cycle[session_destroy_unattached] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testfz0otlsh'] FAILED tests/test_options.py::test_option_set_show_cycle[session_mouse] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test3rl89mdc'] FAILED tests/test_options.py::test_option_set_show_cycle[session_renumber_windows] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testndwma190'] FAILED tests/test_options.py::test_option_set_show_cycle[session_set_titles] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_teste7rj_ywq'] FAILED tests/test_options.py::test_option_set_show_cycle[session_activity_action] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test0li3yd_4'] FAILED tests/test_options.py::test_option_set_show_cycle[session_bell_action] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvqlouwar'] FAILED tests/test_options.py::test_option_set_show_cycle[session_detach_on_destroy] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testm40abnv3'] FAILED tests/test_options.py::test_option_set_show_cycle[session_silence_action] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testr30w1eci'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_keys] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_tests7mb90va'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_justify] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testui3rn0_k'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_position] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbwc8xzmj'] FAILED tests/test_options.py::test_option_set_show_cycle[session_visual_activity] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testeu3zw910'] FAILED tests/test_options.py::test_option_set_show_cycle[session_visual_bell] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testqmijrup_'] FAILED tests/test_options.py::test_option_set_show_cycle[session_visual_silence] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testd_ntu40r'] FAILED tests/test_options.py::test_option_set_show_cycle[session_default_command] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testn9jxql58'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_left] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbensq2o7'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_right] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrs039h_j'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testgi3uq1kn'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_left_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testis2lurcm'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_right_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testhcjqfbo1'] FAILED tests/test_options.py::test_option_set_show_cycle[session_message_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrgwcnu43'] FAILED tests/test_options.py::test_option_set_show_cycle[window_pane_base_index] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4sz70wgm'] FAILED tests/test_options.py::test_option_set_show_cycle[window_monitor_silence] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test45yaf7br'] FAILED tests/test_options.py::test_option_set_show_cycle[window_aggressive_resize] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testsvbg5rfu'] FAILED tests/test_options.py::test_option_set_show_cycle[window_automatic_rename] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testu5m93fnv'] FAILED tests/test_options.py::test_option_set_show_cycle[window_monitor_activity] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testfngudbwo'] FAILED tests/test_options.py::test_option_set_show_cycle[window_monitor_bell] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testi_2uj3ry'] FAILED tests/test_options.py::test_option_set_show_cycle[window_wrap_search] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testiy_ol04d'] FAILED tests/test_options.py::test_option_set_show_cycle[window_clock_mode_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testhisaj1yp'] FAILED tests/test_options.py::test_option_set_show_cycle[window_mode_keys] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testj4_q0isv'] FAILED tests/test_options.py::test_option_set_show_cycle[window_pane_border_status] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test7ar2bf81'] FAILED tests/test_options.py::test_option_set_show_cycle[window_window_size] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpr4e0gtq'] FAILED tests/test_options.py::test_option_set_show_cycle[window_pane_border_format] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testo5gv6trx'] FAILED tests/test_options.py::test_option_set_show_cycle[window_mode_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testn8qjm19p'] FAILED tests/test_options.py::test_option_set_show_cycle[window_pane_border_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testaljn7hzm'] FAILED tests/test_options.py::test_option_set_show_cycle[window_pane_active_border_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpa0wjitx'] FAILED tests/test_options.py::test_option_set_show_cycle[window_window_status_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testj_ax7grs'] FAILED tests/test_options.py::test_option_set_show_cycle[window_window_status_current_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test9w_5lv7q'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_allow_rename] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test3547qrsl'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_alternate_screen] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjlwbyfke'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_scroll_on_clear] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testl2e3_iyr'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_synchronize_panes] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testf5rg2xwq'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_allow_passthrough] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testuc1vfk78'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_remain_on_exit] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5h2grcws'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_window_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6brem38l'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_window_active_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test1r_8su7o'] FAILED tests/test_options.py::test_show_options_returns_expected_keys[server_global] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy52up9wg'] FAILED tests/test_options.py::test_show_options_returns_expected_keys[server_global_inherited] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_n7vrfoz'] FAILED tests/test_options.py::test_show_options_returns_expected_keys[session_global] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testkhevgp1r'] FAILED tests/test_options.py::test_show_options_returns_expected_keys[session_global_inherited] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testkd2ebwyn'] FAILED tests/test_options.py::test_show_options_returns_expected_keys[window_global] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpo150il9'] FAILED tests/test_options.py::test_show_options_returns_expected_keys[window_global_inherited] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testn9sp0cmu'] FAILED tests/test_pytest_plugin.py::test_plugin - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 0, 'errors': 1, 'xpassed': 0, 'xfailed': 0} == {'passed': 1, 'skipped': 0, 'failed': 0, 'errors': 0, 'xpassed': 0, 'xfailed': 0} Common items: {'failed': 0, 'skipped': 0, 'xfailed': 0, 'xpassed': 0} Differing items: {'errors': 1} != {'errors': 0} {'passed': 0} != {'passed': 1} Full diff: { - 'errors': 0, ? ^ + 'errors': 1, ? ^ 'failed': 0, - 'passed': 1, ? ^ + 'passed': 0, ? ^ 'skipped': 0, 'xfailed': 0, 'xpassed': 0, } FAILED tests/test_pytest_plugin.py::test_test_server - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test78xlhpqm'] FAILED tests/test_pytest_plugin.py::test_test_server_with_config - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testhivkzj0b'] FAILED tests/test_pytest_plugin.py::test_test_server_cleanup - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6a9rwyf3'] FAILED tests/test_pytest_plugin.py::test_test_server_multiple - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testc7qjd1ua'] FAILED tests/test_server.py::test_new_session - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testv2om7raq'] FAILED tests/test_server.py::test_new_session_no_name - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdr3acbiu'] FAILED tests/test_server.py::test_new_session_shell - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6lcmf47n'] FAILED tests/test_server.py::test_new_session_shell_env - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testskrdqnv6'] FAILED tests/test_server.py::test_new_session_environmental_variables - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_teste_z6uy3d'] FAILED tests/test_server.py::test_with_server_is_alive - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test7xiwjlsq'] FAILED tests/test_server.py::test_raise_if_dead_does_not_raise_if_alive - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpfo5qchv'] FAILED tests/test_server.py::test_server_context_manager - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testyr6ot8ac'] FAILED tests/test_server.py::test_new_session_start_directory[none_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8yarqm1e'] FAILED tests/test_server.py::test_new_session_start_directory[empty_string] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testg0lhs6i2'] FAILED tests/test_server.py::test_new_session_start_directory[user_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testscm9ugqx'] FAILED tests/test_server.py::test_new_session_start_directory[relative_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5ympszwf'] FAILED tests/test_server.py::test_new_session_start_directory_pathlib - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testu6k71zy5'] FAILED tests/test_session.py::test_new_session - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testqsmv164_'] FAILED tests/test_session.py::test_session_context_manager - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6al2bfx8'] FAILED tests/test_session.py::test_session_attach_does_not_fail_if_session_killed_during_attach[session_killed_during_attach_should_not_raise] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test510d_zar'] FAILED tests/test_tmuxobject.py::test_filter - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testigzd6rbf'] ERROR tests/legacy_api/test_common.py::test_tmux_cmd_unicode - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpcwkxq_f'] ERROR tests/legacy_api/test_pane.py::test_resize_pane_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test3faphze4'] ERROR tests/legacy_api/test_pane.py::test_select_pane_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2f6az0y5'] ERROR tests/legacy_api/test_pane.py::test_split_window_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpx74khzg'] ERROR tests/legacy_api/test_pane.py::test_pane_get_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testn5qvjdsy'] ERROR tests/legacy_api/test_pane.py::test_pane_getitem_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6gdoqk51'] ERROR tests/legacy_api/test_session.py::test_attached_window_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2v_wyg5o'] ERROR tests/legacy_api/test_session.py::test_attached_pane_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testb9xytoh8'] ERROR tests/legacy_api/test_session.py::test_attach_session_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdjtv9z7_'] ERROR tests/legacy_api/test_session.py::test_session_get_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6vksxyme'] ERROR tests/legacy_api/test_session.py::test_session_getitem_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testh4bx1qr0'] ERROR tests/legacy_api/test_session.py::test_session_get_by_id_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testm_fz0wer'] ERROR tests/legacy_api/test_session.py::test_session_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testu0lbm846'] ERROR tests/legacy_api/test_session.py::test_session_find_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testtrjundq8'] ERROR tests/legacy_api/test_session.py::test_session_list_windows_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testyt8_rogs'] ERROR tests/legacy_api/test_session.py::test_session_children_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testi6lrz3at'] ERROR tests/legacy_api/test_session.py::test_session__windows_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test84za6qcl'] ERROR tests/legacy_api/test_session.py::test_session__list_windows_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testxt9auyrs'] ERROR tests/legacy_api/test_tmuxobject.py::test_session_find_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test0837ao6b'] ERROR tests/legacy_api/test_tmuxobject.py::test_window_find_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testra8wiken'] ERROR tests/legacy_api/test_tmuxobject.py::test_session_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testlw_5m0y2'] ERROR tests/legacy_api/test_tmuxobject.py::test_window_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testuotf2jv_'] ERROR tests/legacy_api/test_tmuxobject.py::test_session_get_by_id_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrcyzt_g6'] ERROR tests/legacy_api/test_tmuxobject.py::test_window_get_by_id_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testl1q0n59r'] ERROR tests/legacy_api/test_window.py::test_split_window_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjnxkdlgp'] ERROR tests/legacy_api/test_window.py::test_attached_pane_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testkj4iam3n'] ERROR tests/legacy_api/test_window.py::test_select_window_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testocmkr8d9'] ERROR tests/legacy_api/test_window.py::test_kill_window_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testtxdakmfr'] ERROR tests/legacy_api/test_window.py::test_set_window_option_emits_deprecation_warning - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testxhfs8b7n'] ERROR tests/legacy_api/test_window.py::test_show_window_options_emits_deprecation_warning - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test04cs75ge'] ERROR tests/legacy_api/test_window.py::test_show_window_option_emits_deprecation_warning - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testf7p8w9x_'] ERROR tests/legacy_api/test_window.py::test_window_get_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjo8zeac4'] ERROR tests/legacy_api/test_window.py::test_window_getitem_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test0anlm24g'] ERROR tests/legacy_api/test_window.py::test_window_get_by_id_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test3vd9o4q1'] ERROR tests/legacy_api/test_window.py::test_window_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwyc64do_'] ERROR tests/legacy_api/test_window.py::test_window_find_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testael8trfw'] ERROR tests/legacy_api/test_window.py::test_window_list_panes_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8s7lc2k3'] ERROR tests/legacy_api/test_window.py::test_window_children_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzrn6_gyh'] ERROR tests/legacy_api/test_window.py::test_window__panes_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testijzndok1'] ERROR tests/legacy_api/test_window.py::test_window__list_panes_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testd74ytsw_'] ERROR tests/test/test_random.py::test_get_test_window_name_doctest_examples - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testmzl7qw8j'] ERROR tests/test/test_random.py::test_get_test_window_name_default_prefix - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testl15j0c8i'] ERROR tests/test/test_random.py::test_get_test_window_name_custom_prefix - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testntyr7z3j'] ERROR tests/test/test_random.py::test_get_test_window_name_loop_behavior - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test7xpg_q89'] ERROR tests/test/test_random.py::test_collisions_with_real_objects - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test09zf5lep'] ERROR tests/test/test_random.py::test_get_test_window_name_collision_handling - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test3dt64rq0'] ERROR tests/test/test_random.py::test_get_test_window_name_branch_coverage - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjyz7kdfv'] ERROR tests/test/test_temporary.py::test_temp_window_creates_and_destroys - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4izo2qun'] ERROR tests/test/test_temporary.py::test_temp_window_with_name - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testctbjn8oe'] ERROR tests/test/test_temporary.py::test_temp_window_cleanup_on_exception - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test357knipt'] ERROR tests/test/test_temporary.py::test_temp_window_outside_context - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testn7fmzqi8'] ERROR tests/test_common.py::test_tmux_cmd_unicode - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testujkbezp1'] ERROR tests/test_dataclasses.py::test_querylist - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdf2j09yz'] ERROR tests/test_options.py::test_show_option_g_parameter_emits_deprecation_warning - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testoytwml3s'] ERROR tests/test_options.py::test_show_option_indexed_array[indexed_returns_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testo4qsnfk5'] ERROR tests/test_options.py::test_show_option_indexed_array[base_name_returns_sparse_array] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testu8o7fyas'] ERROR tests/test_pane.py::test_send_keys - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test608hyv4k'] ERROR tests/test_pane.py::test_set_height - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy2xb6qr7'] ERROR tests/test_pane.py::test_set_width - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testcts5n24z'] ERROR tests/test_pane.py::test_capture_pane - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testiv0o9snd'] ERROR tests/test_pane.py::test_capture_pane_end - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpad5cv47'] ERROR tests/test_pane.py::test_pane_split_window_zoom - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testxev8fq7_'] ERROR tests/test_pane.py::test_resize - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testn4gqh7z8'] ERROR tests/test_pane.py::test_split_pane_size - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6dm3v5kn'] ERROR tests/test_pane.py::test_pane_context_manager - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5zcud97v'] ERROR tests/test_pane.py::test_split_start_directory[none_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2lx1d7uw'] ERROR tests/test_pane.py::test_split_start_directory[empty_string] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbz0ge4_5'] ERROR tests/test_pane.py::test_split_start_directory[user_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testedpqukt6'] ERROR tests/test_pane.py::test_split_start_directory[relative_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdph2k8_7'] ERROR tests/test_pane.py::test_split_start_directory_pathlib - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbix8o25w'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[basic_capture] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testiutrfedm'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[basic_multiline] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvt5xgbki'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_red] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvqxinswz'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_green] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8o1tkqum'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_bold] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testeorn_ic9'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[no_escape_sequences] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testj36_hzfi'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_non_printable_basic] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testmqz2wh9k'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_non_printable_tab] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testyqz5a8uh'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[join_wrapped_long_line] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_6q5w2i7'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[preserve_trailing_spaces] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2d93m10y'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[no_preserve_trailing] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2kabu0rx'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[trim_trailing_basic] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testo4lxvd2f'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_with_join] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test7xogt5_z'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[join_with_preserve_trailing] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test10_fvmle'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[all_flags_except_trim] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testabhedvr8'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_backward_compatible - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwvjylktu'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_start_end_with_flags - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testng6ks3_1'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_trim_trailing_warning - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testtq1rlais'] ERROR tests/test_server.py::test_has_session - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6ngums1v'] ERROR tests/test_server.py::test_getenv - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzo_pe5q8'] ERROR tests/test_session.py::test_has_session - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5dqc9b0w'] ERROR tests/test_session.py::test_select_window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6hva5i8t'] ERROR tests/test_session.py::test_select_window_returns_Window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy5k83xoa'] ERROR tests/test_session.py::test_active_window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testgvi9z4xu'] ERROR tests/test_session.py::test_active_pane - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testuyso12fl'] ERROR tests/test_session.py::test_session_rename - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8zpj2wsf'] ERROR tests/test_session.py::test_show_options - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testepx30hrj'] ERROR tests/test_session.py::test_set_show_options_single - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testb3mwf59j'] ERROR tests/test_session.py::test_set_show_option - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testh47o9umi'] ERROR tests/test_session.py::test_empty_session_option_returns_None - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbfgk8ldx'] ERROR tests/test_session.py::test_show_option_unknown - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testfjmxsp3t'] ERROR tests/test_session.py::test_show_option_ambiguous - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbcs5ah8z'] ERROR tests/test_session.py::test_set_option_ambiguous - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6o1nl0f3'] ERROR tests/test_session.py::test_set_option_invalid - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdi_jx067'] ERROR tests/test_session.py::test_show_environment - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testarifkd9y'] ERROR tests/test_session.py::test_set_show_environment_single - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testlrehbkit'] ERROR tests/test_session.py::test_show_environment_not_set - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpx574uwz'] ERROR tests/test_session.py::test_remove_environment - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testb0cjfyw4'] ERROR tests/test_session.py::test_unset_environment - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_52iqkor'] ERROR tests/test_session.py::test_periods_raise_bad_session_name[period_in_name] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5c30s_r1'] ERROR tests/test_session.py::test_periods_raise_bad_session_name[colon_in_name] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test3o94uays'] ERROR tests/test_session.py::test_periods_raise_bad_session_name[valid_name] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testlnh52gs8'] ERROR tests/test_session.py::test_cmd_inserts_session_id - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8dubxr9e'] ERROR tests/test_session.py::test_new_window_with_environment[single_env_var] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testxe0zi87g'] ERROR tests/test_session.py::test_new_window_with_environment[multiple_env_vars] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testqgmyp2sf'] ERROR tests/test_session.py::test_session_new_window_with_direction - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test5d9ysqfx'] ERROR tests/test_session.py::test_new_window_start_directory[none_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test4j9myhk1'] ERROR tests/test_session.py::test_new_window_start_directory[empty_string] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzhro86a9'] ERROR tests/test_session.py::test_new_window_start_directory[user_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testvl3xqf4o'] ERROR tests/test_session.py::test_new_window_start_directory[relative_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8s62od04'] ERROR tests/test_session.py::test_new_window_start_directory_pathlib - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy9wm4lfr'] ERROR tests/test_tmuxobject.py::test_find_where - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testiqm7_1ts'] ERROR tests/test_tmuxobject.py::test_find_where_None - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testwzxjuhgv'] ERROR tests/test_tmuxobject.py::test_find_where_multiple_infos - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testml0sqc_j'] ERROR tests/test_tmuxobject.py::test_where - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testrpsdv62n'] ERROR tests/test_window.py::test_select_window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testkzhas58l'] ERROR tests/test_window.py::test_fresh_window_data - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testlp0zqx4f'] ERROR tests/test_window.py::test_newest_pane_data - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testzdq4xwuy'] ERROR tests/test_window.py::test_active_pane - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test95oidayp'] ERROR tests/test_window.py::test_split - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test9m37qv8r'] ERROR tests/test_window.py::test_split_shell - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testxi2fqdo5'] ERROR tests/test_window.py::test_split_horizontal - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6lbd3_r9'] ERROR tests/test_window.py::test_split_size - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testt8rz0p1x'] ERROR tests/test_window.py::test_window_rename[rename_with_spaces] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testj6bhly7p'] ERROR tests/test_window.py::test_window_rename[rename_with_escapes] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testfiz236r9'] ERROR tests/test_window.py::test_kill_window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpta79fvx'] ERROR tests/test_window.py::test_show_window_options - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test52nock0l'] ERROR tests/test_window.py::test_set_window_and_show_window_options - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testh5wr_468'] ERROR tests/test_window.py::test_set_and_show_window_options - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbm8a3w4e'] ERROR tests/test_window.py::test_empty_window_option_returns_None - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpufrsz5b'] ERROR tests/test_window.py::test_show_window_option - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testbuycnej5'] ERROR tests/test_window.py::test_show_window_option_unknown - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test6uc9z_wo'] ERROR tests/test_window.py::test_show_window_option_ambiguous - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy5wuxlh3'] ERROR tests/test_window.py::test_set_window_option_ambiguous - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy4hf7ilk'] ERROR tests/test_window.py::test_set_window_option_invalid - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test04kfbcrn'] ERROR tests/test_window.py::test_move_window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testy5hn6jfg'] ERROR tests/test_window.py::test_move_window_to_other_session - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_teste8gzpvms'] ERROR tests/test_window.py::test_select_layout_accepts_no_arg - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testqrvox8b2'] ERROR tests/test_window.py::test_empty_window_name - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testpxmokzbj'] ERROR tests/test_window.py::test_split_with_environment[single_env_var] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testh6cvnoel'] ERROR tests/test_window.py::test_split_with_environment[multiple_env_vars] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdk93o5e4'] ERROR tests/test_window.py::test_split_window_zoom - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testov8ti79s'] ERROR tests/test_window.py::test_resize - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjyfitlhv'] ERROR tests/test_window.py::test_new_window_with_direction - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test_1yxwudl'] ERROR tests/test_window.py::test_window_context_manager - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testws0f7xte'] ERROR tests/test_window.py::test_split_start_directory[none_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test2frnwpqj'] ERROR tests/test_window.py::test_split_start_directory[empty_string] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjxv_puks'] ERROR tests/test_window.py::test_split_start_directory[user_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testau7gxb5j'] ERROR tests/test_window.py::test_split_start_directory[relative_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testf3pzdkoa'] ERROR tests/test_window.py::test_split_start_directory_pathlib - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testf41qbanm'] ERROR tests/test_window.py::test_deprecated_window_methods_emit_warning[set_window_option] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_test8vzdko7m'] ERROR tests/test_window.py::test_deprecated_window_methods_emit_warning[show_window_options] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testjpufm17w'] ERROR tests/test_window.py::test_deprecated_window_methods_emit_warning[show_window_option] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1010/libtmux_testdn10hl5y'] = 206 failed, 238 passed, 1 skipped, 2 deselected, 163 errors in 221.57s (0:03:41) = ==> ERROR: A failure occurred in check(). Aborting... [!p]104[?7h]3008;end=e487596813444f5d9d31a4b7f58590fd\==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix-0/build [?25h[?25h[?25hreceiving incremental file list python-libtmux-0.53.0-2-riscv64-build.log python-libtmux-0.53.0-2-riscv64-check.log sent 62 bytes received 45,399 bytes 90,922.00 bytes/sec total size is 1,212,973 speedup is 26.68