From 0cd698e2bd5fb0eab376a27dd78505e40f38f91e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 6 Jul 2026 20:47:17 +0200 Subject: [PATCH] python314Packages.libtmux: remove test that works with 0.61.0, ignore failing test on darwin --- pkgs/development/python-modules/libtmux/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/libtmux/default.nix b/pkgs/development/python-modules/libtmux/default.nix index 159c63b7430c..f870f7ae1d77 100644 --- a/pkgs/development/python-modules/libtmux/default.nix +++ b/pkgs/development/python-modules/libtmux/default.nix @@ -45,12 +45,9 @@ buildPythonPackage (finalAttrs: { enabledTestPaths = [ "tests" ]; disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ "tests/test/test_retry.py" ]; - disabledTests = [ - # test is broken for tmux 3.7a and later - # https://github.com/tmux-python/libtmux/issues/697 - "test_new_window_name_invalid_on_3_7" - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ + disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ + # basename for sleep is coreutils, not sleep + "test_break_pane_no_name_uses_natural_name" # Fail with: 'no server running on /tmp/tmux-1000/libtmux_test8sorutj1'. "test_new_session_width_height" # AssertionError: assert '' == '$'