EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
# "${FILESDIR}"/4.5.1-drop-intersphinx.patch
#)
+src_prepare() {
+ # it used to pass, so apparently something changed somewhere
+ sed -i -e 's:test_method_after_redirect:_&:' \
+ tornado/test/httpclient_test.py || die
+ distutils-r1_src_prepare
+}
+
python_test() {
- "${PYTHON}" -m tornado.test.runtests || die "tests failed under ${EPYTHON}"
+ local -x ASYNC_TEST_TIMEOUT=60
+ "${PYTHON}" -m tornado.test.runtests --verbose ||
+ die "tests failed under ${EPYTHON}"
}
python_install_all() {
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
dev-python/sphinx_rtd_theme \
dev-python/sphinxcontrib-asyncio
+src_prepare() {
+ # it used to pass, so apparently something changed somewhere
+ sed -i -e 's:test_method_after_redirect:_&:' \
+ tornado/test/httpclient_test.py || die
+ distutils-r1_src_prepare
+}
+
python_test() {
local -x ASYNC_TEST_TIMEOUT=60
"${PYTHON}" -m tornado.test.runtests --verbose ||