summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-03-17 17:02:12 +0100
committerMichał Górny <mgorny@gentoo.org>2024-03-17 17:24:34 +0100
commit833255f9cf0694a78e9a38863661f6977a8d1982 (patch)
tree8a5e0befcf476f1e6cd54acaed6e11f92f771184 /dev-python/libtmux
parentsci-visualization/paraview: add 5.12.0 (diff)
downloadgentoo-833255f9cf0694a78e9a38863661f6977a8d1982.tar.gz
gentoo-833255f9cf0694a78e9a38863661f6977a8d1982.tar.bz2
gentoo-833255f9cf0694a78e9a38863661f6977a8d1982.zip
dev-python/libtmux: Fix test failures when running in tmux
Closes: https://bugs.gentoo.org/927158 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/libtmux')
-rw-r--r--dev-python/libtmux/libtmux-0.30.2.ebuild5
-rw-r--r--dev-python/libtmux/libtmux-0.32.0.ebuild3
2 files changed, 7 insertions, 1 deletions
diff --git a/dev-python/libtmux/libtmux-0.30.2.ebuild b/dev-python/libtmux/libtmux-0.30.2.ebuild
index 3347c96865a2..8dcc7ee19960 100644
--- a/dev-python/libtmux/libtmux-0.30.2.ebuild
+++ b/dev-python/libtmux/libtmux-0.30.2.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{9..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit distutils-r1
@@ -53,5 +53,8 @@ python_test() {
local -a EPYTEST_DESELECT=(
libtmux/pane.py::libtmux.pane.Pane.send_keys
)
+ # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set
+ # https://bugs.gentoo.org/927158
+ local -x TMUX_PANE=
epytest
}
diff --git a/dev-python/libtmux/libtmux-0.32.0.ebuild b/dev-python/libtmux/libtmux-0.32.0.ebuild
index df35033bc48a..8dcc7ee19960 100644
--- a/dev-python/libtmux/libtmux-0.32.0.ebuild
+++ b/dev-python/libtmux/libtmux-0.32.0.ebuild
@@ -53,5 +53,8 @@ python_test() {
local -a EPYTEST_DESELECT=(
libtmux/pane.py::libtmux.pane.Pane.send_keys
)
+ # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set
+ # https://bugs.gentoo.org/927158
+ local -x TMUX_PANE=
epytest
}