Fixes Travis test command with Python warnings enabled.

ref #45