Don't import warnings again

It has already been imported at the top of the file.