[PATCH 01 of 24 yams V2] [tox] enforce usage of python3 for tests

Laurent Peuch cortex at worlddomination.be
Wed Mar 4 15:17:37 CET 2020


# HG changeset patch
# User Laurent Peuch <cortex at worlddomination.be>
# Date 1580338562 -3600
#      Wed Jan 29 23:56:02 2020 +0100
# Node ID 4a3921f215e07cbc3561ab87354462a1a7413b8a
# Parent  c4de9c9ce27c47505bdf144a46e108dae5a2f8fa
# Available At https://hg.logilab.org/users/lpeuch/yams
#              hg pull https://hg.logilab.org/users/lpeuch/yams -r 4a3921f215e0
# EXP-Topic type_annotations
[tox] enforce usage of python3 for tests

diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -2,6 +2,7 @@
 envlist=py3,check-manifest,flake8
 
 [testenv]
+basepython=python3
 deps =
   pytest
 commands={envpython} -m pytest {posargs:{toxinidir}/test}



More information about the cubicweb-devel mailing list