From f39e50c4dbebb86af19127ca12887f59e70bd222 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Tue, 2 Feb 2016 12:26:28 +0100 Subject: silence third-party modules --- test/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/__init__.py (limited to 'test') diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 00000000..fdb35964 --- /dev/null +++ b/test/__init__.py @@ -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) -- cgit v1.2.3