dev-python/hyperframe: Enable tests

This commit is contained in:
Michał Górny
2018-07-15 08:33:22 +02:00
parent 1691e61b90
commit a64a4aab87

View File

@@ -13,7 +13,11 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
IUSE=""
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="${DEPEND}"
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
python_test() {
py.test -vv hyperframe test || die "Tests fail with ${EPYTHON}"
}