summaryrefslogtreecommitdiff
path: root/app-misc/tmuxp/files
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/tmuxp/files')
-rw-r--r--app-misc/tmuxp/files/tmuxp-1.6.4-tests.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-misc/tmuxp/files/tmuxp-1.6.4-tests.patch b/app-misc/tmuxp/files/tmuxp-1.6.4-tests.patch
new file mode 100644
index 000000000000..4bdfe015474a
--- /dev/null
+++ b/app-misc/tmuxp/files/tmuxp-1.6.4-tests.patch
@@ -0,0 +1,22 @@
+diff --git a/tests/test_cli.py b/tests/test_cli.py
+index 1e14e51..6945c2b 100644
+--- a/tests/test_cli.py
++++ b/tests/test_cli.py
+@@ -486,7 +486,7 @@ session_name: hello
+ '{SESSION_NAME}',
+ '{WINDOW_NAME}',
+ '-c',
+- 'print(pane.id)',
++ 'print(getattr(pane, "id", "{PANE_ID}"))',
+ ],
+ [],
+ {},
+@@ -496,7 +496,7 @@ session_name: hello
+ [
+ '-L{SOCKET_NAME}',
+ '-c',
+- 'print(pane.id)',
++ 'print(getattr(pane, "id", "{PANE_ID}"))',
+ ],
+ [],
+ {'TMUX_PANE': '{PANE_ID}'},