# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup pytest-dev pytest-asyncio 0.10.0 v
description pytest support for asyncio
asyncio code is usually written in the form of coroutines, which makes it \
slightly more difficult to test using normal testing tools. pytest-asyncio \
provides useful fixtures and markers to make testing easier.
distname ${python.rootname}-${version}
checksums rmd160 17544d7f44bf1160881409e306622bb7ec971489 \
sha256 082aca0ee895e33460aa4c32bd2922ab7f7dcdbe5417b40d4700457ab3680b65 \
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools \
port:py${python.version}-async_generator \
port:py${python.version}-hypothesis
depends_lib-append port:py${python.version}-pytest
# testing requires this port already installed and the trace mode not enabled
test.cmd py.test-${python.branch}