Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 209a690

Browse files
committed
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.
1 parent 4769f7b commit 209a690

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ environment:
1212

1313
global:
1414
PYTHONIOENCODING: UTF-8
15-
PYTEST_ARGS: -rawR --numprocesses=auto --timeout=300 --durations=25
15+
PYTEST_ARGS: -raR --numprocesses=auto --timeout=300 --durations=25
1616
--cov-report= --cov=lib -m "not network"
1717

1818
matrix:

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ env:
6363
- NPROC=2
6464
- OPENBLAS_NUM_THREADS=1
6565
- PYTHONFAULTHANDLER=1
66-
- PYTEST_ADDOPTS="-rawR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
66+
- PYTEST_ADDOPTS="-raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
6767
- RUN_FLAKE8=
6868

6969
matrix:

0 commit comments

Comments
 (0)