Thanks @pelson good spot
Simplest thing to do I think is to set warnings.simplefilter("always")