From: sthen Date: Sat, 17 Sep 2022 12:17:52 +0000 (+0000) Subject: add some notes on common pytest arguments X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4305ac2cb0cc4ab664b19264ba019f5e2b30074b;p=openbsd add some notes on common pytest arguments --- diff --git a/share/man/man5/python-module.5 b/share/man/man5/python-module.5 index 1c7ffd26711..dbb813a479b 100644 --- a/share/man/man5/python-module.5 +++ b/share/man/man5/python-module.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: python-module.5,v 1.5 2022/09/13 20:56:47 sthen Exp $ +.\" $OpenBSD: python-module.5,v 1.6 2022/09/17 12:17:52 sthen Exp $ .\" .\" Copyright (c) 2008 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: September 13 2022 $ +.Dd $Mdocdate: September 17 2022 $ .Dt PYTHON-MODULE 5 .Os .Sh NAME @@ -158,7 +158,13 @@ This is set automatically for builds using Arguments can be passed to pytest during .Cm test with -.Ev MODPY_PYTEST_ARGS . +.Ev MODPY_PYTEST_ARGS , +for example to list names of test scripts if the automatic +detection fails, +to disable certain test scripts with +.Sq --ignore , +or to disable certain individual tests with +.Sq -k . .Pp All ports that generate egg-info or dist-info files should set .Ev MODPY_EGG_VERSION