mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 00:23:13 -04:00
dev-python/praw: oh no, broken tests
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python Reddit API Wrapper"
|
||||
@@ -25,6 +26,14 @@ BDEPEND="test? (
|
||||
dev-python/betamax-matchers[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
# TODO: remove in next release
|
||||
EPYTEST_DESELECT=(
|
||||
tests/unit/test_deprecations.py
|
||||
tests/unit/util/test_deprecate_args.py
|
||||
tests/unit/models/reddit/test_submission.py::TestSubmission::test_comment_sort_warning
|
||||
tests/unit/models/reddit/test_submission.py::TestSubmission::test_comment_sort_warning__disabled
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -37,6 +46,9 @@ python_prepare_all() {
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# spams deprecation warnings
|
||||
epytest -p no:asyncio
|
||||
local epytestargs=(
|
||||
# spams deprecation warnings
|
||||
-p no:asyncio
|
||||
)
|
||||
epytest "${epytestargs[@]}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user