Check for python warnings as well