mirror of
https://github.com/encode/django-rest-framework.git
synced 2026-02-17 20:50:35 +03:00
ignore coreapi deprecation warnings during test startup
This commit is contained in:
parent
2c03b63248
commit
a13a43dd12
6
tox.ini
6
tox.ini
|
|
@ -10,7 +10,11 @@ envlist =
|
|||
docs
|
||||
|
||||
[testenv]
|
||||
commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --coverage {posargs}
|
||||
commands =
|
||||
python -W error::DeprecationWarning \
|
||||
-W "ignore:'cgi' is deprecated:DeprecationWarning" \
|
||||
-W error::PendingDeprecationWarning \
|
||||
runtests.py --coverage {posargs}
|
||||
envdir = {toxworkdir}/venvs/{envname}
|
||||
setenv =
|
||||
PYTHONDONTWRITEBYTECODE=1
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user