mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
distutils-r1.eclass: Remove distutils_enable_tests setup.py
Signed-off-by: Michał Górny <mgorny@gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/41560 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -617,8 +617,6 @@ distutils_enable_sphinx() {
|
||||
#
|
||||
# - pytest: dev-python/pytest
|
||||
#
|
||||
# - setup.py: setup.py test (no deps included; deprecated)
|
||||
#
|
||||
# - unittest: for built-in Python unittest module
|
||||
#
|
||||
# This function is meant as a helper for common use cases, and it only
|
||||
@@ -662,10 +660,6 @@ distutils_enable_tests() {
|
||||
")"
|
||||
fi
|
||||
;;
|
||||
setup.py)
|
||||
eqawarn "QA Notice: 'distutils_enable_tests setup.py' is deprecated and will be removed."
|
||||
eqawarn "Please use unittest or pytest instead."
|
||||
;;
|
||||
unittest)
|
||||
;;
|
||||
*)
|
||||
@@ -1641,9 +1635,6 @@ distutils-r1_python_test() {
|
||||
pytest)
|
||||
epytest
|
||||
;;
|
||||
setup.py)
|
||||
nonfatal esetup.py test --verbose
|
||||
;;
|
||||
unittest)
|
||||
eunittest
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user