Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/858682 )
Change subject: [tests] run pytest with deeptest-py39 ......................................................................
[tests] run pytest with deeptest-py39
run pytest with deeptest-py39 run unittest with deeptest-py36 to have different tests runner
Change-Id: I7bcece53aa3259e14d0e96443b5cad2b139208cb --- M tox.ini 1 file changed, 19 insertions(+), 3 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/tox.ini b/tox.ini index c26452c..dbed3d0 100644 --- a/tox.ini +++ b/tox.ini @@ -37,7 +37,8 @@ hacking: flake8 --format=default {posargs}
deeptest: python {[params]generate_user_files} - deeptest: python -m unittest discover -vv -p "*_tests.py" + deeptest-py36: python -m unittest discover -vv -p "*_tests.py" + deeptest-py39: pytest
fasttest: python {[params]generate_user_files} fasttest: pytest --version @@ -59,7 +60,9 @@ deeptest: .[html] deeptest: .[mwparserfromhell] deeptest: .[scripts] - deeptest: .[wikitextparser] + deeptest-py39: .[wikitextparser] + deeptest-py39: pytest >= 7.0.1 + deeptest-py39: pytest-subtests >= 0.3.2
[testenv:commit-message] basepython = python3 @@ -82,11 +85,11 @@ commands = {posargs}
[testenv:doc] +basepython = python3.7 commands = sphinx-build -M html ./docs ./docs/_build -j auto rstcheck --version rstcheck -r --report-level WARNING --ignore-roles api,phab . -basepython = python3.7 deps = -rrequirements.txt -rdocs/requirements.txt
pywikibot-commits@lists.wikimedia.org