diff options
author | Pierre-Yves David <pierre-yves.david@logilab.fr> | 2012-03-15 13:32:49 +0100 |
---|---|---|
committer | Pierre-Yves David <pierre-yves.david@logilab.fr> | 2012-03-15 13:32:49 +0100 |
commit | 26f502979d5cc577262a3dceca2e5a879f04390f (patch) | |
tree | b52a221b66981f6bf9ea12953fb079672451cac8 /bin | |
parent | 6b986a63c48267069b982797fad0e4bf3ba12949 (diff) | |
download | logilab-common-26f502979d5cc577262a3dceca2e5a879f04390f.tar.gz |
fix 2b1382b96eb4 by enabling DeprecationWarning only
The changeset above intended to only display DeprecationWarning. But it also
enables ImportWarning. There is a lot of ImportWarning and most of them are
useless.
This changeset only enable DeprecationWarning and keep ImportWarning quiet
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pytest | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,7 @@ -#!/usr/bin/python -uWdefault +#!/usr/bin/python -u + +import warnings +warnings.simplefilter('default', DeprecationWarning) from logilab.common.pytest import run run() |