Signed-off-by: Michał Górny <mgorny@gentoo.org>
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
- virtual/python-pathlib[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
- $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
)"
python_test() {
DEPEND="test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
- virtual/python-pathlib[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest