silence third-party modules

This commit is contained in:
Maximilian Hils 2016-02-02 12:26:28 +01:00
parent 417384d6f2
commit f39e50c4db
1 changed files with 8 additions and 0 deletions

8
test/__init__.py Normal file
View File

@ -0,0 +1,8 @@
# Silence third-party modules
import logging
logging.getLogger("hyper").setLevel(logging.WARNING)
logging.getLogger("requests").setLevel(logging.WARNING)
logging.getLogger("passlib").setLevel(logging.WARNING)
logging.getLogger("PIL").setLevel(logging.WARNING)
logging.getLogger("tornado").setLevel(logging.WARNING)