You comment out the warnings import above, so this call to warnings will also need to be commented out or it will result in an undefined error.