![](/img/trans.png)
[英]Is it possible to get py.test to skip a test if it is running under coverage?
[英]Running py.test under pypy
如何使用pypy運行pytest? 特拉維斯(Travis)做到了,所以它必須是可能的。 這與如何使用Micropython運行pytest的類似問題有關。
arkadiusz@pc:~/Dokumenty/GitHub/construct$ pypy -m pytest
/usr/bin/pypy: No module named pytest
通過在pypy上安裝pip來解決問題,如下所示
https://askubuntu.com/questions/834466/installing-pytest-for-pypy
那只是
pypy -m pytest
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.