Skip to content

Commit

Permalink
adjust pytest invocation for python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Jun 20, 2024
1 parent a433387 commit 7eaa7ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/internal/winmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@

APPVEYOR = bool(os.environ.get('APPVEYOR'))
PYTHON = sys.executable if APPVEYOR else os.getenv('PYTHON', sys.executable)
PYTEST_ARGS = "-v --tb=native -o "
GET_PIP_URL = "https://bootstrap.pypa.io/get-pip.py"
PY3 = sys.version_info[0] >= 3
PYTEST_ARGS = "-v --tb=native "
if PY3:
PYTEST_ARGS += "-o "
HERE = os.path.abspath(os.path.dirname(__file__))
ROOT_DIR = os.path.realpath(os.path.join(HERE, "..", ".."))
PYPY = '__pypy__' in sys.builtin_module_names
Expand Down

0 comments on commit 7eaa7ea

Please sign in to comment.