diff options
| author | Crucible <crucible@localhost> | 2026-09-30 19:07:39 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-09-30 19:07:39 -0500 |
| commit | 9ac03f0d5a1a2f7a9a0656fe7cd27ef2588da784 (patch) | |
| tree | 5f38413a80b9e584e9f6c579b013e8abd6ae2702 /dev-python/pytest-mock | |
| parent | 9c4e6e8fed8999df35813182c3b9577d541394e0 (diff) | |
| download | srcux-9ac03f0d5a1a2f7a9a0656fe7cd27ef2588da784.tar.gz srcux-9ac03f0d5a1a2f7a9a0656fe7cd27ef2588da784.tar.xz srcux-9ac03f0d5a1a2f7a9a0656fe7cd27ef2588da784.zip | |
Publish srcux candidate 0000000528-20260930-190542
Diffstat (limited to 'dev-python/pytest-mock')
| -rw-r--r-- | dev-python/pytest-mock/pytest-mock-3.16.0.ebuild | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/dev-python/pytest-mock/pytest-mock-3.16.0.ebuild b/dev-python/pytest-mock/pytest-mock-3.16.0.ebuild index c595b138683c..b714251e427e 100644 --- a/dev-python/pytest-mock/pytest-mock-3.16.0.ebuild +++ b/dev-python/pytest-mock/pytest-mock-3.16.0.ebuild @@ -5,7 +5,6 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_VERIFY_REPO=https://github.com/pytest-dev/pytest-mock -PYTHON_TESTED=( python3_{13..14} ) PYTHON_COMPAT=( python3_{13..14} ) inherit distutils-r1 pypi @@ -19,29 +18,19 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" >=dev-python/pytest-6.2.5[${PYTHON_USEDEP}] " BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - $(python_gen_cond_dep ' - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) " -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON}" - return - fi +EPYTEST_PLUGINS=( "${PN}" pytest-asyncio ) +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +distutils_enable_tests pytest - local EPYTEST_PLUGINS=( "${PN}" pytest-asyncio ) - local EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +python_test() { local EPYTEST_DESELECT=() if has_version dev-python/mock; then |
