diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-03-24 16:41:32 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-03-24 16:44:33 +0100 |
commit | bdd5c7e0db191150df4b8f63ee9c730555ca986e (patch) | |
tree | dfc2101d513b8f69151bea9de5e304a01f4fb8bb /dev-python | |
parent | media-tv/tvheadend: Bump to 20240322 snapshot for ffmpeg 5+, fix Python deps (diff) | |
download | gentoo-bdd5c7e0db191150df4b8f63ee9c730555ca986e.tar.gz gentoo-bdd5c7e0db191150df4b8f63ee9c730555ca986e.tar.bz2 gentoo-bdd5c7e0db191150df4b8f63ee9c730555ca986e.zip |
dev-python/python-dbusmock: Force short TMPDIR to fix tests
Closes: https://bugs.gentoo.org/927496
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/python-dbusmock/python-dbusmock-0.31.1-r1.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-python/python-dbusmock/python-dbusmock-0.31.1-r1.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.31.1-r1.ebuild index 014066c58a8c..33f15293fb01 100644 --- a/dev-python/python-dbusmock/python-dbusmock-0.31.1-r1.ebuild +++ b/dev-python/python-dbusmock/python-dbusmock-0.31.1-r1.ebuild @@ -45,7 +45,10 @@ src_prepare() { } python_test() { + # tests are fragile to long socket paths + local -x TMPDIR=/tmp # Tests break if XDG_DATA_DIRS is modified by flatpak install unset XDG_DATA_DIRS - distutils-r1_python_test + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest } |