mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/werkzeug: Force /tmp as tmpdir to fix AF_UNIX name limit
Force using /tmp for tests rather than ${T}, as the latter can easily
cause AF_UNIX socket paths to exceed the limit.
Closes: https://bugs.gentoo.org/790416
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -36,5 +36,7 @@ DEPEND="
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# the default portage tempdir is too long for AF_UNIX sockets
|
||||
local -x TMPDIR=/tmp
|
||||
epytest -p no:httpbin tests
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user