#!/bin/sh set -e WORKDIR=$(mktemp -d) trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM cd $WORKDIR cat < test.py import pytest @pytest.mark.repeat(3) def test_repeat_decorator(): pass EOF pytest-3 --strict-markers test.py echo "run: OK"