Merge pull request #3402 from HarrisonJackson/remove-extra-warnings-import

Remove duplicate import warnings
This commit is contained in:
Cory Benfield
2016-07-14 17:59:51 +01:00
committed by GitHub
-2
View File
@@ -83,7 +83,5 @@ except ImportError:
logging.getLogger(__name__).addHandler(NullHandler())
import warnings
# FileModeWarnings go off per the default.
warnings.simplefilter('default', FileModeWarning, append=True)