mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-python/cmd2: Use virtx to reenable selection buffer tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python{3_5,3_6,3_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Extra features for standard library's cmd module"
|
||||
HOMEPAGE="https://github.com/python-cmd2/cmd2"
|
||||
@@ -32,15 +32,12 @@ DEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
# disable test relying on paste buffer
|
||||
sed -i -e 's:test_send_to_paste_buffer:_&:' tests/test_cmd2.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# test rely on very specific text wrapping...
|
||||
local -x COLUMNS=80
|
||||
pytest -vv || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user