summaryrefslogtreecommitdiff
path: root/test/__init__.py
diff options
context:
space:
mode:
authorSwen Wenzel <5111028+swenzel@users.noreply.github.com>2019-12-30 00:12:30 +0100
committerDana Powers <dana.powers@gmail.com>2019-12-29 15:12:30 -0800
commitee1c4a42ef3c7f0aa7c98f0c48b6ab0ae76d77da (patch)
treee536d4854bf88b0d24b7b2a2f5ee3d731eda9716 /test/__init__.py
parent31f846c782b9dc6f2107340d269a7558e99bdfe2 (diff)
downloadkafka-python-ee1c4a42ef3c7f0aa7c98f0c48b6ab0ae76d77da.tar.gz
Enable SCRAM-SHA-256 and SCRAM-SHA-512 for sasl (#1918)
Diffstat (limited to 'test/__init__.py')
-rw-r--r--test/__init__.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/__init__.py b/test/__init__.py
index 71f667d..329277d 100644
--- a/test/__init__.py
+++ b/test/__init__.py
@@ -2,14 +2,7 @@ from __future__ import absolute_import
# Set default logging handler to avoid "No handler found" warnings.
import logging
-try: # Python 2.7+
- from logging import NullHandler
-except ImportError:
- class NullHandler(logging.Handler):
- def emit(self, record):
- pass
-
-logging.getLogger(__name__).addHandler(NullHandler())
+logging.basicConfig(level=logging.INFO)
from kafka.future import Future
Future.error_on_callbacks = True # always fail during testing