mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-python/pytest-benchmark: disable tests broken with pytest7
Closes: https://bugs.gentoo.org/849605 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -4,11 +4,12 @@
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="py.test fixture for benchmarking code"
|
||||
HOMEPAGE="
|
||||
https://pypi.python.org/pypi/pytest-benchmark
|
||||
https://pypi.python.org/pypi/pytest-benchmark/
|
||||
https://github.com/ionelmc/pytest-benchmark
|
||||
"
|
||||
SRC_URI="https://github.com/ionelmc/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
@@ -30,11 +31,34 @@ BDEPEND="test? (
|
||||
dev-python/hunter[${PYTHON_USEDEP}]
|
||||
dev-python/pygal[${PYTHON_USEDEP}]
|
||||
dev-python/pygaljs[${PYTHON_USEDEP}]
|
||||
)"
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)" # tests include pytest-xdist integration
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
tests/test_cli.py::test_help
|
||||
tests/test_cli.py::test_help_compare
|
||||
|
||||
# test failures with pytest7, see:
|
||||
# https://github.com/ionelmc/pytest-benchmark/issues/214
|
||||
tests/test_benchmark.py::test_groups
|
||||
tests/test_benchmark.py::test_group_by_func
|
||||
tests/test_benchmark.py::test_group_by_fullfunc
|
||||
tests/test_benchmark.py::test_group_by_param_all
|
||||
tests/test_benchmark.py::test_group_by_param_select
|
||||
tests/test_benchmark.py::test_group_by_param_select_multiple
|
||||
tests/test_benchmark.py::test_group_by_fullname
|
||||
tests/test_benchmark.py::test_only_override_skip
|
||||
tests/test_benchmark.py::test_fixtures_also_skipped
|
||||
tests/test_benchmark.py::test_max_time_min_rounds
|
||||
tests/test_benchmark.py::test_max_time
|
||||
tests/test_benchmark.py::test_disable_gc
|
||||
tests/test_benchmark.py::test_custom_timer
|
||||
tests/test_benchmark.py::test_sort_by_mean
|
||||
tests/test_benchmark.py::test_basic
|
||||
tests/test_benchmark.py::test_skip
|
||||
tests/test_benchmark.py::test_disable
|
||||
tests/test_benchmark.py::test_mark_selection
|
||||
tests/test_benchmark.py::test_only_benchmarks
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Reference in New Issue
Block a user