From 209a6907d474b7580231fcbee4fb3e5ccabdb999 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Wed, 18 Jul 2018 21:47:25 +0200 Subject: [PATCH] Don't use pytest -rw now that pytest-warnings is builtin. The `-rw` (included in `-rawR`) option to pytest was added to display warnings back when we used pytest-warnings, but has now become unnecessary as pytest now displays warnings by default. Remove it (i.e. use `-raR`) instead to avoid some head-scratching. --- .appveyor.yml | 2 +- .travis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index b6d1dea4fe45..195df7266014 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -12,7 +12,7 @@ environment: global: PYTHONIOENCODING: UTF-8 - PYTEST_ARGS: -rawR --numprocesses=auto --timeout=300 --durations=25 + PYTEST_ARGS: -raR --numprocesses=auto --timeout=300 --durations=25 --cov-report= --cov=lib -m "not network" matrix: diff --git a/.travis.yml b/.travis.yml index bcaa3de6c1ab..45b3e13c07a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,7 +63,7 @@ env: - NPROC=2 - OPENBLAS_NUM_THREADS=1 - PYTHONFAULTHANDLER=1 - - PYTEST_ADDOPTS="-rawR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC" + - PYTEST_ADDOPTS="-raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC" - RUN_FLAKE8= matrix: