diff options
| author | Michał Górny <mgorny@gentoo.org> | 2023-12-09 17:21:28 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2023-12-09 17:36:58 +0100 |
| commit | c77d81a9200922cee141e00641772bdf85a39205 (patch) | |
| tree | 76662101e4578cf3084f410c97534ff5750bed4c /dev-python | |
| parent | 2b48548d186f68ad0bebf9ffbb72b2bc23f454a8 (diff) | |
| download | gentoo-c77d81a9200922cee141e00641772bdf85a39205.tar.gz gentoo-c77d81a9200922cee141e00641772bdf85a39205.tar.bz2 gentoo-c77d81a9200922cee141e00641772bdf85a39205.zip | |
dev-python/lz4: Fix testing against freshly built version
Closes: https://bugs.gentoo.org/919382
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/lz4/lz4-4.3.2.ebuild | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/dev-python/lz4/lz4-4.3.2.ebuild b/dev-python/lz4/lz4-4.3.2.ebuild index ef9a2537225b..08269ec71c17 100644 --- a/dev-python/lz4/lz4-4.3.2.ebuild +++ b/dev-python/lz4/lz4-4.3.2.ebuild @@ -33,10 +33,17 @@ BDEPEND=" ) " +# note: test suite fails with xdist distutils_enable_tests pytest -EPYTEST_IGNORE=( - # lz4.stream is not officially supported and not installed by default - # (we do not support installing it at the moment) - tests/stream -) +python_test() { + local EPYTEST_IGNORE=( + # lz4.stream is not officially supported and not installed by default + # (we do not support installing it at the moment) + tests/stream + ) + + rm -rf lz4 || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |
