Kubilay Kocak <koobs at FreeBSD.org> writes: > The canonical pytest invocation is: > > cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= For a canonical it is uncommon. Besides, you've made mistakes: - No braces around `cd` compared to what Porter's Handbook recommends - No TEST_ENV in case tests need TZ=UTC, LANG=en_US.UTF-8, etc.