Enable DeprecationWarning in test environments

Many deprecations are triggered early (on imports, for example).
To make sure all DeprecationWarning messages are emitted we enable
them via the PYTHONWARNINGS environment variable

Change-Id: I30c033728da02aec1313099b4cc0dc446712f2db
This commit is contained in:
Deepak 2016-10-26 13:41:37 +05:30 committed by Jesse Pretorius (odyssey4me)
parent 31a2c9da0e
commit e582207a66

View File

@ -25,7 +25,7 @@ whitelist_externals =
sudo
setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
[testenv:docs]
commands=