pep8
better coverage
fix doctest
ENH : use warning instead of print